}\r
\r
/* Core Styles */\r
-.jqueryFileTree LI.directory { background: url(images/directory.png) left top no-repeat; }\r
-.jqueryFileTree LI.expanded { background: url(images/folder_open.png) left top no-repeat; }\r
+.jqueryFileTree LI.directory { background: url(images/folder-closed.gif) left top no-repeat; }\r
+.jqueryFileTree LI.expanded { background: url(images/folder.gif) left top no-repeat; }\r
.jqueryFileTree LI.file { background: url(images/file.png) left top no-repeat; }\r
.jqueryFileTree LI.wait { background: url(images/spinner.gif) left top no-repeat; }\r
/* File Extensions*/\r
}
if ($(e.target).attr("href")=="#artifact-details-files-content") {
- $.log("file content:"+self.groupId+":"+self.artifactId+":"+self.version);
-
+ mainContent.find("#artifact-details-files-content" ).html(smallSpinnerImg());
var artifactDownloadInfosUrl = "restServices/archivaServices/browseService/artifactDownloadInfos/"+encodeURIComponent(self.groupId);
artifactDownloadInfosUrl+="/"+encodeURIComponent(self.artifactId)+"/"+encodeURIComponent(self.version);
artifactDownloadInfosUrl+="?repositoryId="+encodeURIComponent(getSelectedBrowsingRepository());
pomContentUrl+="/"+encodeURIComponent(self.artifactId)+"/"+encodeURIComponent(self.version);
pomContentUrl+="?repositoryId="+encodeURIComponent(getSelectedBrowsingRepository());
pomContentUrl+="&t=pom";
+ mainContent.find("#artifact-content-text" ).html(smallSpinnerImg());
$.ajax({
url: pomContentUrl,
dataType: "text",
$.log("data:"+data);
var text = data.replace(/</g,'<');
text=text.replace(/>/g,">");
+ mainContent.find("#artifact-content-text" ).html(smallSpinnerImg());
mainContent.find("#artifact-content-text" ).html(text);
goToAnchor("artifact-content-text-header");
}