Fix mobile framework popup not showing up the close botton

This commit is contained in:
Hadi Nategh 2014-12-10 15:53:28 +00:00
parent 79925c1c13
commit a94f892219

View File

@ -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();