mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix restore the blockui on refresh
This commit is contained in:
parent
d8ef24ff0b
commit
8aec77fd8b
|
|
@ -317,10 +317,16 @@ if ($action == 'refreshmanual')
|
|||
//print $_SESSION["dol_screenheight"];
|
||||
$maxheightwin=(isset($_SESSION["dol_screenheight"]) && $_SESSION["dol_screenheight"] > 466)?($_SESSION["dol_screenheight"]-136):660; // Also into index_auto.php file
|
||||
|
||||
$moreheadcss='';
|
||||
$moreheadjs='';
|
||||
|
||||
//$morejs=array();
|
||||
$morejs=array('includes/jquery/plugins/blockUI/jquery.blockUI.js','core/js/blockUI.js'); // Used by ecm/tpl/enabledfiletreeajax.tpl.pgp
|
||||
if (empty($conf->global->MAIN_ECM_DISABLE_JS)) $morejs[]="/includes/jquery/plugins/jqueryFileTree/jqueryFileTree.js";
|
||||
|
||||
$moreheadjs.='<script type="text/javascript">'."\n";
|
||||
$moreheadjs.='var indicatorBlockUI = \''.DOL_URL_ROOT."/theme/".$conf->theme."/img/working.gif".'\';'."\n";
|
||||
$moreheadjs.='</script>'."\n";
|
||||
|
||||
llxHeader($moreheadcss.$moreheadjs,$langs->trans("ECMArea"),'','','','',$morejs,'',0,0);
|
||||
|
||||
|
|
|
|||
|
|
@ -299,10 +299,16 @@ if ($action == 'refreshmanual')
|
|||
//print $_SESSION["dol_screenheight"];
|
||||
$maxheightwin=(isset($_SESSION["dol_screenheight"]) && $_SESSION["dol_screenheight"] > 466)?($_SESSION["dol_screenheight"]-136):660; // Also into index.php file
|
||||
|
||||
$moreheadcss='';
|
||||
$moreheadjs='';
|
||||
|
||||
//$morejs=array();
|
||||
$morejs=array('includes/jquery/plugins/blockUI/jquery.blockUI.js','core/js/blockUI.js'); // Used by ecm/tpl/enabledfiletreeajax.tpl.pgp
|
||||
if (empty($conf->global->MAIN_ECM_DISABLE_JS)) $morejs[]="/includes/jquery/plugins/jqueryFileTree/jqueryFileTree.js";
|
||||
|
||||
$moreheadjs.='<script type="text/javascript">'."\n";
|
||||
$moreheadjs.='var indicatorBlockUI = \''.DOL_URL_ROOT."/theme/".$conf->theme."/img/working.gif".'\';'."\n";
|
||||
$moreheadjs.='</script>'."\n";
|
||||
|
||||
llxHeader($moreheadcss.$moreheadjs,$langs->trans("ECMArea"),'','','','',$morejs,'',0,0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user