mirror of https://github.com/apache/archiva.git
fix possible issue with multiple event binding on the same element
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1411246 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2f2b9cb22f
commit
1cfab8837f
|
@ -233,6 +233,7 @@ define("archiva.proxy-connectors-rules",["jquery","i18n","jquery.tmpl","bootstra
|
|||
$("#main-content" ).find("#proxy-connectors-rules-available-proxy-connectors" ).find("[data-source-repoId="+sourceRepoId+"][data-target-repoId="+targetRepoId+"]" ).on("click", function(){
|
||||
self.removeAvailable(proxyConnectorRulesViewModel,$(this).attr("data-source-repoId"),$(this).attr("data-target-repoId"));
|
||||
});
|
||||
$("#main-content" ).find("#proxy-connectors-rules-edit-order-div" ).find("[data-source-repoId="+sourceRepoId+"][data-target-repoId="+targetRepoId+"]" ).off("click");
|
||||
}
|
||||
|
||||
this.activateRemoveChoosen=function(proxyConnectorRulesViewModel){
|
||||
|
@ -259,6 +260,7 @@ define("archiva.proxy-connectors-rules",["jquery","i18n","jquery.tmpl","bootstra
|
|||
$("#main-content" ).find("#proxy-connectors-rules-edit-order-div" ).find("[data-source-repoId="+sourceRepoId+"][data-target-repoId="+targetRepoId+"]" ).on("click", function(){
|
||||
self.removeChoosen(proxyConnectorRulesViewModel,$(this).attr("data-source-repoId"),$(this).attr("data-target-repoId"));
|
||||
});
|
||||
$("#main-content" ).find("#proxy-connectors-rules-available-proxy-connectors" ).find("[data-source-repoId="+sourceRepoId+"][data-target-repoId="+targetRepoId+"]" ).off("click");
|
||||
}
|
||||
|
||||
this.activateRemoveAvailable=function(proxyConnectorRulesViewModel){
|
||||
|
|
Loading…
Reference in New Issue