diff --git a/root/static/js/canto-modules.js b/root/static/js/canto-modules.js index 1a58726f5..59a049a19 100644 --- a/root/static/js/canto-modules.js +++ b/root/static/js/canto-modules.js @@ -4300,16 +4300,6 @@ function alleleQCCheckAllele($http, alleleQCUrl, geneSystematicId, alleleDescrip processSynonyms(); }; - $scope.clearExisting = function() { - $scope.alleleData.external_uniquename = undefined; - $scope.alleleData.existingSynonyms = []; - $scope.alleleData.newSynonyms = []; - $scope.alleleData.description = undefined; - $scope.alleleData.type = undefined; - $scope.alleleData.name = ''; - $scope.alleleData.display_name = undefined; - }; - $scope.descriptionChanged = function() { $scope.descriptionNeedsChecking = false; $scope.descriptionState = 'unset'; diff --git a/root/static/ng_templates/allele_edit.html b/root/static/ng_templates/allele_edit.html index 4bcf421df..fa1d25315 100644 --- a/root/static/ng_templates/allele_edit.html +++ b/root/static/ng_templates/allele_edit.html @@ -262,10 +262,6 @@