From cd7372298d0f6fee64a92c50522bcb0144c0d722 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 22 Apr 2013 12:45:50 +0000 Subject: [PATCH] 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 --- .../main/webapp/js/templates/archiva/repositories.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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}} + -- 2.39.5