From 10b61cc612bbc6ac9f44de75d90dc2c4781020d7 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 5 Aug 2022 12:53:45 +0200 Subject: [PATCH] Finish up loading animation if the active tab is an old etemplate --- api/js/framework/fw_browser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/js/framework/fw_browser.js b/api/js/framework/fw_browser.js index 310d7f9309..5b5e689297 100644 --- a/api/js/framework/fw_browser.js +++ b/api/js/framework/fw_browser.js @@ -169,7 +169,9 @@ window.fw_browser = (function(){ "use strict"; return Class.extend( },5000); this.loadingDeferred.always(function() { - framework.firstload_animation(self.app.appName); + framework.firstload_animation(self.app.appName, + framework.activeApp.appName == self.app.appName + && !self.app.browser.contentDiv? 100 : null); if(self.ajaxLoaderDiv) {