From: Eric Barboni Date: Tue, 5 May 2015 00:44:33 +0000 (+0200) Subject: MRM-1886 bind javascript to tr instead li (change in html) X-Git-Tag: archiva-2.2.1~64 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9312b9db7036760c64e18682dee9e3f417ae4303;p=archiva.git MRM-1886 bind javascript to tr instead li (change in html) --- diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js index c2dd6d780..7ad802541 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js @@ -936,7 +936,7 @@ define("archiva.search",["jquery","jquery.ui","i18n","jquery.tmpl","select2","kn ko.applyBindings(artifactDetailsDownloadViewModel,mainContent.find("#artifact-details-download-content" ).get(0)); - mainContent.find("#artifact-download-list-files li img" ).on("click",function(){ + mainContent.find("#artifact-download-list-files tr td img" ).on("click",function(){ mainContent.find("#artifact_content_tree").empty(); var contentText = mainContent.find("#artifact-content-text" ); contentText.empty();