]> source.dussan.org Git - archiva.git/commitdiff
MRM-1886 bind javascript to tr instead li (change in html)
authorEric Barboni <skygo@apache.org>
Tue, 5 May 2015 00:44:33 +0000 (02:44 +0200)
committerEric Barboni <skygo@apache.org>
Tue, 5 May 2015 00:44:33 +0000 (02:44 +0200)
archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js

index c2dd6d780bbcf58b59365f576a0f644cf8739f83..7ad802541ff13e404039286235d4563b9b707648 100644 (file)
@@ -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();