displayBrowseArtifactDetail(splitted[0],splitted[1],null,null);
return;
} else if (splitted.length==3) {
- generaldisplayArtifactDetailsVersionView(splitted[0],splitted[1],splitted[2],repositoryId);
+ generalDisplayArtifactDetailsVersionView(splitted[0],splitted[1],splitted[2],repositoryId);
return;
} else {
displayWarningMessage( $.i18n.prop("shortcut.artifact.illegal"));
if(freshView){
mainContent.html($("#browse-tmpl" ).tmpl());
}
+ mainContent.find("#browse_artifact_detail").hide();
+ mainContent.find("#browse_artifact" ).hide();
mainContent.find("#browse_result").html(mediumSpinnerImg());
$.ajax("restServices/archivaServices/browseService/userRepositories", {
displayBrowseArtifactDetail(artifact.groupId,artifact.artifactId,null,null);
}
artifactDetailView=function(artifact){
- generaldisplayArtifactDetailsVersionView(artifact.groupId,artifact.artifactId,artifact.version,null);
+ generalDisplayArtifactDetailsVersionView(artifact.groupId,artifact.artifactId,artifact.version,null);
}
}
- generaldisplayArtifactDetailsVersionView=function(groupId,artifactId,version,repositoryId){
+ generalDisplayArtifactDetailsVersionView=function(groupId,artifactId,version,repositoryId){
var mainContent=$("#main-content");
mainContent.html($("#browse-tmpl" ).tmpl());
mainContent.find("#browse_result" ).hide();