From 9312b9db7036760c64e18682dee9e3f417ae4303 Mon Sep 17 00:00:00 2001 From: Eric Barboni Date: Tue, 5 May 2015 02:44:33 +0200 Subject: MRM-1886 bind javascript to tr instead li (change in html) --- .../archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3