From 04ab1494fbbeb17eb662acb8c9bb7a2af0d4d3b7 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 29 Apr 2016 16:34:18 +0000 Subject: [PATCH] Show loader while recovering from print --- api/js/framework/fw_base.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/js/framework/fw_base.js b/api/js/framework/fw_base.js index baac6f1d51..f73bec26c8 100644 --- a/api/js/framework/fw_base.js +++ b/api/js/framework/fw_base.js @@ -998,6 +998,8 @@ var fw_base = (function(){ "use strict"; return Class.extend( var app = framework.activeApp; 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() { @@ -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; };