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 () {