}
timestampNoCache=function(){
- if (window.archivaRuntimeInfo.version.match("SNAPSHOT$")=="SNAPSHOT"){
+ if (window.archivaRuntimeInfo.version.match("SNAPSHOT$")){
return "&archivaTimestamp="+window.archivaRuntimeInfo.timestamp+(window.archivaRuntimeInfo.devMode?"&_="+jQuery.now():"");
}
return "";
window.archivaJavascriptLog=data.javascriptLog;
window.archivaRuntimeInfo=data;
- require(['sammy','jquery','jquery.tmpl','archiva.main','utils','domReady!'],function (domReady) {
+ require(['sammy','jquery','jquery.tmpl','archiva.main','utils','domReady!'],function () {
startArchivaApplication();
$("#loadingDiv").hide();
drawQuickSearchAutocomplete();
return item.name();
});
- $("#topbar-menu-container [redback-permissions]").each(function(element){
+ $("#topbar-menu-container").find("[redback-permissions]").each(function(element){
checkElementKarma(this);
});
$("#sidebar-content [redback-permissions]").each(function(element){
$(this).hide();
});
- $("#sidebar-content [redback-permissions]").each(function(element){
+ $("#sidebar-content").find("[redback-permissions]").each(function(element){
$(this).hide();
});
$.log("hideElementWithKarma");