From 6da06bb8cf4a3ef96f2b23b84430825b75909b8c Mon Sep 17 00:00:00 2001 From: amandine-sahl Date: Thu, 12 May 2016 17:09:28 +0200 Subject: [PATCH] Revert "modification formulaire edition du Taxon - fix : #61" This reverts commit d68c11290cde93b972f339476ae51d65778c0e67. --- web/app/bib_taxon/edit/taxons-form.html | 9 ++++++--- web/app/bib_taxon/edit/taxonsFormControler.js | 5 +++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/web/app/bib_taxon/edit/taxons-form.html b/web/app/bib_taxon/edit/taxons-form.html index 7b3b118b..7d555472 100644 --- a/web/app/bib_taxon/edit/taxons-form.html +++ b/web/app/bib_taxon/edit/taxons-form.html @@ -22,19 +22,22 @@
- +
- +
- + +
+
+
diff --git a/web/app/bib_taxon/edit/taxonsFormControler.js b/web/app/bib_taxon/edit/taxonsFormControler.js index 472f97ae..e653d364 100644 --- a/web/app/bib_taxon/edit/taxonsFormControler.js +++ b/web/app/bib_taxon/edit/taxonsFormControler.js @@ -12,6 +12,7 @@ function($scope, $routeParams, $http, locationHistoryService, $location, toaster 'saveError':{"title":"Erreur d'enregistrement"}, } + var action = $routeParams.action; var self = this; if ($routeParams.id) { @@ -48,6 +49,10 @@ function($scope, $routeParams, $http, locationHistoryService, $location, toaster } }); + self.refreshTaxrefData = function() { + self.cd_nom = self.bibTaxon.cd_nom; + } + //------------------------------ Chargement de la listes des attributs ----------------------/ ///bibattributs/Animalia/Autre $scope.$watch(function () {