mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-15 01:39:34 +01:00
Stop loading animation after 3sec if it didn't end for some reason
This commit is contained in:
parent
4b3c0889c3
commit
f232169ebf
@ -70,9 +70,8 @@
|
|||||||
*/
|
*/
|
||||||
et2_loadingFinished: function() {
|
et2_loadingFinished: function() {
|
||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
setTimeout(function(){jQuery('#egw_fw_firstload').remove()}, 1000);
|
setTimeout(function(){jQuery('#egw_fw_firstload').remove();}, 1000);
|
||||||
},
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -86,6 +85,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
jQuery(document).ready(function() {
|
jQuery(document).ready(function() {
|
||||||
|
//Stop the loading animation after 3sec if for whatever reason it didn't end
|
||||||
|
setTimeout(function(){jQuery('#egw_fw_firstload').remove();}, 3000);
|
||||||
window.framework = new fw_pixelegg("egw_fw_sidemenu", "egw_fw_tabs",
|
window.framework = new fw_pixelegg("egw_fw_sidemenu", "egw_fw_tabs",
|
||||||
window.egw_webserverUrl, egw_setSideboxSize,"egw_fw_splitter", 255, 245); // should be identical to jdots_framework::(DEFAULT|MIN)_SIDEBAR_WIDTH
|
window.egw_webserverUrl, egw_setSideboxSize,"egw_fw_splitter", 255, 245); // should be identical to jdots_framework::(DEFAULT|MIN)_SIDEBAR_WIDTH
|
||||||
window.callManual = window.framework.callManual;
|
window.callManual = window.framework.callManual;
|
||||||
|
Loading…
Reference in New Issue
Block a user