mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix mobile framework popup not showing up the close botton
This commit is contained in:
parent
79925c1c13
commit
a94f892219
@ -449,7 +449,12 @@ etemplate2.prototype.load = function(_name, _url, _data, _callback)
|
|||||||
// Wait for everything to be loaded, then finish it up
|
// Wait for everything to be loaded, then finish it up
|
||||||
jQuery.when.apply(jQuery, deferred).done(jQuery.proxy(function() {
|
jQuery.when.apply(jQuery, deferred).done(jQuery.proxy(function() {
|
||||||
egw.debug("log", "Finished loading %s, triggering load event", _name);
|
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
|
// Trigger the "resize" event
|
||||||
this.resize();
|
this.resize();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user