mirror of https://github.com/apache/archiva.git
cleanup content whent changing artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1341223 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eac9ee57f1
commit
719e740c7a
|
@ -280,7 +280,8 @@ define("search",["jquery","i18n","jquery.tmpl","choosen","order!knockout","knock
|
|||
$.get(artifactDownloadInfosUrl,function(data){
|
||||
$("#artifact-details-files-content" ).html($("#artifact-details-files-content_tmpl").tmpl({artifactDownloadInfos:data}));
|
||||
mainContent.find("#artifact-content-list-files li" ).on("click",function(){
|
||||
$("#main-content #artifact_content_tree").html("");
|
||||
mainContent.find("#artifact_content_tree").html("");
|
||||
mainContent.find("#artifact-content-text" ).html("");
|
||||
var idValue = $(this ).attr("id");
|
||||
var classifier=idValue.substringBeforeLast(":");
|
||||
var type = idValue.substringAfterLast(":");
|
||||
|
|
Loading…
Reference in New Issue