if(!KAJONA){alert("load kajona.js before!")}KAJONA.admin.packagemanager={arrPackageNames:[],addPackageToTest:function(a){this.arrPackageNames.push(a)},triggerUpdateCheck:function(){KAJONA.admin.ajax.genericAjaxCall("packagemanager","getUpdateIcons","&packages="+this.arrPackageNames.join(","),function(c,a,b){if(a=="success"){$.each(jQuery.parseJSON(c),function(d,e){$("#updateWrapper"+d).html(e);KAJONA.util.evalScript(e);KAJONA.admin.tooltip.addTooltip($("#updateWrapper"+d+" img"));KAJONA.admin.tooltip.addTooltip($("#updateWrapper"+d+" a"))})}else{KAJONA.admin.statusDisplay.messageError("<b>Request failed!</b><br />"+c)}})}};