diff --git a/root/static/js/canto-modules.js b/root/static/js/canto-modules.js index ffd0a2c1f..9fc56482f 100644 --- a/root/static/js/canto-modules.js +++ b/root/static/js/canto-modules.js @@ -4259,16 +4259,6 @@ var alleleEditDialogCtrl = 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 3912b3631..c6e3fd16e 100644 --- a/root/static/ng_templates/allele_edit.html +++ b/root/static/ng_templates/allele_edit.html @@ -239,10 +239,6 @@