diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js index 42fe98126..04e7f8cc0 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js @@ -367,15 +367,11 @@ define("archiva.proxy-connectors",["jquery","i18n","jquery.tmpl","bootstrap","jq var res = ($.isArray(proxyConnectors) && proxyConnectors.length>0) ? proxyConnectors[0]:new ProxyConnector(); return res; } - - showSettings=function(proxyConnector,targetContentStartId, targetImgStartId,theProxyConnectorsViewModel){ + showSettings=function(){ $.log("showSettings"); - } - - hideSettings=function(proxyConnector){ $("#body_content" ).find(".popover" ).hide(); + //$("#main-content").find("[id^='proxy-connectors-grid-remoterepo-settings-edit-']" ).popover("hide"); } - buildSettings=function(proxyConnector){ var tmplHtml = $("#proxy-connectors-remote-settings-popover-tmpl") .tmpl({ @@ -385,13 +381,6 @@ define("archiva.proxy-connectors",["jquery","i18n","jquery.tmpl","bootstrap","jq var targetImg = $(("#proxy-connectors-grid-remoterepo-settings-edit-") +proxyConnector.sourceRepoId().replace(/\./g,"\\\.")+"-"+proxyConnector.targetRepoId().replace(/\./g,"\\\.")); - - - - //targetImg.popover(); - - //targetImg.popover('show'); - return tmplHtml; } 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 f6aa6eba6..c2f083c55 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 @@ -716,7 +716,7 @@ + data-content="${buildSettings(row)}" data-bind="click: showSettings">