mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
Dont run port check during page load
This commit is contained in:
parent
17fb7c07dc
commit
ca67d27d05
Binary file not shown.
@ -168,13 +168,20 @@ var repoBanner = false;
|
||||
var repoBannerTimer = false;
|
||||
var unRaidFontSize = $("html").css("font-size").replace("px","");
|
||||
var resizeTimer;
|
||||
//var portsInUse = 123<? echo json_encode(getPortsInUse()); ?>;
|
||||
var portsInUse = [];
|
||||
|
||||
$(function(){
|
||||
window.onerror = function(msg,url,lineNo,columnNo, error) {
|
||||
post({action:'javascriptError',msg:msg,url:url,lineNo:lineNo,columnNo:columnNo,error:error});
|
||||
}
|
||||
|
||||
// don't run this through the wrapper so that if it hangs up it won't delay anything else
|
||||
$.post("/plugins/<?=$plugin?>/include/exec.php",{action:'getPortsInUse'},function(data) {
|
||||
var ret = JSON.parse(data);
|
||||
portsInUse = ret.portsInUse;
|
||||
console.log("Ports In Use:" + portsInUse);
|
||||
});
|
||||
|
||||
if ( "<?=$killCookie?>" == "true" ) { // This is needed so that if language gets switched on the home page the home page gets regenerated correctly
|
||||
$.cookie("ca_languageSwitch","");
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
d221dbf76d6ca3d8ed62236c853beed8 ./Apps.page
|
||||
11aca37b4284373ab4f515cb78b58bfc ./Apps.page
|
||||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||
c7c6da0a4a4a7ac33f387ea178319bae ./ca_settings.page
|
||||
ed2883d6c44c19304c431079596a1731 ./default.cfg
|
||||
|
Loading…
x
Reference in New Issue
Block a user