From: Olivier Lamy Date: Mon, 13 Feb 2012 13:54:04 +0000 (+0000) Subject: modified flag to false after add X-Git-Tag: archiva-1.4-M3~1311 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f87b7b15675292128af6c097cf4eb7acd04780d6;p=archiva.git modified flag to false after add git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1243510 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js index f7473c8ff..836cc840b 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js @@ -233,6 +233,7 @@ $(function() { curManagedRepository.location(data.managedRepository.location); self.managedRepositoriesViewModel.managedRepositories.push(curManagedRepository); displaySuccessMessage($.i18n.prop('managedrepository.added')); + curManagedRepository.modified(false); activateManagedRepositoriesGridTab(); }, error: function(data) { @@ -642,6 +643,7 @@ $(function() { contentType: 'application/json', dataType: 'json', success: function(data) { + self.remoteRepository.modified(false); self.remoteRepositoriesViewModel.remoteRepositories.push(self.remoteRepository); displaySuccessMessage($.i18n.prop('remoterepository.added')); activateRemoteRepositoriesGridTab();