mirror of https://github.com/apache/archiva.git
proxy connector make the tooltip working the proxyId was marked as modified whereas it was not (due to the select undefined for direct connection)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1306804 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f432069ad6
commit
ecce53f1be
|
@ -35,11 +35,16 @@ define("archiva.proxy-connectors",["jquery","i18n","jquery.tmpl","bootstrap","jq
|
||||||
self.modified(true);
|
self.modified(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.previousProxyId=proxyId;
|
||||||
|
|
||||||
//private String proxyId;
|
//private String proxyId;
|
||||||
this.proxyId=ko.observable(proxyId);
|
this.proxyId=ko.observable(proxyId);
|
||||||
this.proxyId.subscribe(function(newValue){
|
this.proxyId.subscribe(function(newValue){
|
||||||
$.log("proxyId modified");
|
if(newValue!=self.previousProxyId){
|
||||||
self.modified(true);
|
$.log("proxyId modified:"+newValue+",previous:"+self.previousProxyId);
|
||||||
|
self.previousProxyId=newValue;
|
||||||
|
self.modified(true);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//private List<String> blackListPatterns;
|
//private List<String> blackListPatterns;
|
||||||
|
@ -433,7 +438,7 @@ define("archiva.proxy-connectors",["jquery","i18n","jquery.tmpl","bootstrap","jq
|
||||||
data: self.proxyConnectors,
|
data: self.proxyConnectors,
|
||||||
pageSize: 5,
|
pageSize: 5,
|
||||||
gridUpdateCallBack: function(){
|
gridUpdateCallBack: function(){
|
||||||
//$("#main-content #proxyConnectorsTable [title]").tooltip();
|
$("#main-content #proxyConnectorsTable [title]").tooltip();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
var mainContent = $("#main-content");
|
var mainContent = $("#main-content");
|
||||||
|
|
Loading…
Reference in New Issue