mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +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.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
|
||||
window.setTimeout(function() {
|
||||
for(var i = 0; i < et2_list.length; i++)
|
||||
@ -1007,6 +1009,7 @@ var fw_base = (function(){ "use strict"; return Class.extend(
|
||||
_widget.afterPrint();
|
||||
},et2_list[i],et2_IPrint);
|
||||
}
|
||||
egw.loading_prompt(app.appName,false);
|
||||
},100);
|
||||
appWindow.onafterprint = null;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user