From: Olivier Lamy Date: Mon, 22 Apr 2013 12:45:50 +0000 (+0000) Subject: button must be visible but disabled if nothing to save X-Git-Tag: archiva-1.4-M4~74 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cd7372298d0f6fee64a92c50522bcb0144c0d722;p=archiva.git button must be visible but disabled if nothing to save git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1470480 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/repositories.html b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/repositories.html index 013b1c85f..d8e65c49c 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/repositories.html +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/repositories.html @@ -1412,11 +1412,9 @@ - {{if repositoryGroup.modified()}} - + ${$.i18n.prop('save')} - {{/if}} {{/each}} @@ -1455,13 +1453,13 @@ - {{if repositoryGroup.modified()}} +
${$.i18n.prop('save')} + id="repository-group-save" data-bind="click: function(){saveRepositoryGroup(repositoryGroup)},css: { disabled: repositoryGroup.modified()==false }">${$.i18n.prop('save')}

- {{/if}} +