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;
|
//private String sourceRepoId;
|
||||||
this.pattern=ko.observable(pattern);
|
this.pattern=ko.observable(pattern);
|
||||||
this.pattern.subscribe(function(newValue){
|
this.pattern.subscribe(function(newValue){
|
||||||
|
$.log("pattern modified");
|
||||||
self.modified(true);
|
self.modified(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -1419,9 +1419,9 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if proxyConnectorRule.modified()}}
|
|
||||||
<div class="span3">
|
<div class="span3" data-bind="visible: proxyConnectorRule.modified()">
|
||||||
{{if update}}
|
{{if update && proxyConnectorRule.modified()}}
|
||||||
<a href="#" class="btn btn-warning" data-loading-text="${$.i18n.prop('common.loading')}"
|
<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>
|
id="proxy-connector-rule-update-btn" data-bind="click: function(){updateProxyConnectorRule(proxyConnectorRule)}">${$.i18n.prop('update')}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
@ -1431,7 +1431,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
{{/if}}
|
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue