diff --git a/docs-web/src/main/webapp/src/app/docs/controller/document/DocumentEdit.js b/docs-web/src/main/webapp/src/app/docs/controller/document/DocumentEdit.js index e00eabf5..b667c2bc 100644 --- a/docs-web/src/main/webapp/src/app/docs/controller/document/DocumentEdit.js +++ b/docs-web/src/main/webapp/src/app/docs/controller/document/DocumentEdit.js @@ -54,6 +54,9 @@ angular.module('docs').controller('DocumentEdit', function($rootScope, $scope, $ language: 'fra' }; $scope.newFiles = []; + if ($scope.form) { + $scope.form.$setPristine(); + } }; /** diff --git a/docs-web/src/main/webapp/src/locale/fr.json b/docs-web/src/main/webapp/src/locale/fr.json index c508ff80..0792f629 100644 --- a/docs-web/src/main/webapp/src/locale/fr.json +++ b/docs-web/src/main/webapp/src/locale/fr.json @@ -261,7 +261,7 @@ "account": { "password": "Mot de passe", "password_confirm": "Mot de passe (confirmation)", - "updated": "Compte mis à jout avec succès" + "updated": "Compte mis à jour avec succès" }, "config": { "title_guest_access": "Accès invité", diff --git a/docs-web/src/main/webapp/src/partial/docs/document.edit.html b/docs-web/src/main/webapp/src/partial/docs/document.edit.html index d60a298a..dacd109d 100644 --- a/docs-web/src/main/webapp/src/partial/docs/document.edit.html +++ b/docs-web/src/main/webapp/src/partial/docs/document.edit.html @@ -9,7 +9,7 @@ {{ alert.msg }}
-
+