From a94f892219cb6d03441f0c73e7d842b8fbbaccdc Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 10 Dec 2014 15:53:28 +0000 Subject: [PATCH] Fix mobile framework popup not showing up the close botton --- etemplate/js/etemplate2.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/etemplate/js/etemplate2.js b/etemplate/js/etemplate2.js index 1a3bea6a2d..dc8cf4baac 100644 --- a/etemplate/js/etemplate2.js +++ b/etemplate/js/etemplate2.js @@ -449,7 +449,12 @@ etemplate2.prototype.load = function(_name, _url, _data, _callback) // Wait for everything to be loaded, then finish it up jQuery.when.apply(jQuery, deferred).done(jQuery.proxy(function() { egw.debug("log", "Finished loading %s, triggering load event", _name); - + + if (typeof window.framework != 'undefined' && typeof window.framework.loadingFinished != 'undefined') + { + //Call loading finished method of the framework with local window + window.framework.et2_loadingFinished(egw(window).window); + } // Trigger the "resize" event this.resize();