mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
Show loader while recovering from print
This commit is contained in:
parent
980774ffcd
commit
04ab1494fb
@ -999,6 +999,8 @@ var fw_base = (function(){ "use strict"; return Class.extend(
|
|||||||
framework.activeApp = '';
|
framework.activeApp = '';
|
||||||
framework.setActiveApp(app);
|
framework.setActiveApp(app);
|
||||||
|
|
||||||
|
egw.loading_prompt(app.appName,true,egw.lang('please wait...'),app.browser.baseDiv, egwIsMobile()?'horizental':'spinner');
|
||||||
|
|
||||||
// Give framework a chance to deal, then reset the etemplates
|
// Give framework a chance to deal, then reset the etemplates
|
||||||
window.setTimeout(function() {
|
window.setTimeout(function() {
|
||||||
for(var i = 0; i < et2_list.length; i++)
|
for(var i = 0; i < et2_list.length; i++)
|
||||||
@ -1007,6 +1009,7 @@ var fw_base = (function(){ "use strict"; return Class.extend(
|
|||||||
_widget.afterPrint();
|
_widget.afterPrint();
|
||||||
},et2_list[i],et2_IPrint);
|
},et2_list[i],et2_IPrint);
|
||||||
}
|
}
|
||||||
|
egw.loading_prompt(app.appName,false);
|
||||||
},100);
|
},100);
|
||||||
appWindow.onafterprint = null;
|
appWindow.onafterprint = null;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user