diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors-rules.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors-rules.js index 5ef25a11c..615134e69 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors-rules.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors-rules.js @@ -232,6 +232,7 @@ define("archiva.proxy-connectors-rules",["jquery","i18n","jquery.tmpl","bootstra //private String sourceRepoId; this.pattern=ko.observable(pattern); this.pattern.subscribe(function(newValue){ + $.log("pattern modified"); self.modified(true); }); diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html index 0496ff34e..00a35dc78 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html @@ -1419,9 +1419,9 @@ {{/if}} - {{if proxyConnectorRule.modified()}} -
- {{if update}} + +
+ {{if update && proxyConnectorRule.modified()}} ${$.i18n.prop('update')} {{else}} @@ -1431,7 +1431,7 @@

- {{/if}} +