mirror of https://github.com/apache/archiva.git
fix add proxyConnector rule
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1399018 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6ed4fc14c3
commit
1a9f55d9c4
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
|
@ -1419,9 +1419,9 @@
|
|||
</form>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if proxyConnectorRule.modified()}}
|
||||
<div class="span3">
|
||||
{{if update}}
|
||||
|
||||
<div class="span3" data-bind="visible: proxyConnectorRule.modified()">
|
||||
{{if update && proxyConnectorRule.modified()}}
|
||||
<a href="#" class="btn btn-warning" data-loading-text="${$.i18n.prop('common.loading')}"
|
||||
id="proxy-connector-rule-update-btn" data-bind="click: function(){updateProxyConnectorRule(proxyConnectorRule)}">${$.i18n.prop('update')}</a>
|
||||
{{else}}
|
||||
|
@ -1431,7 +1431,7 @@
|
|||
</div>
|
||||
|
||||
<br/>
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue