Show loader while recovering from print

This commit is contained in:
Nathan Gray 2016-04-29 16:34:18 +00:00
parent 980774ffcd
commit 04ab1494fb

View File

@ -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;
};