forked from extern/egroupware
Do not show loading prompt for popups
This commit is contained in:
parent
ffaeb52bce
commit
8df7c00b21
@ -91,16 +91,18 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
|||||||
window.app.calendar = window.top.app.calendar;
|
window.app.calendar = window.top.app.calendar;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else if (window.top == window && !egw(window).is_popup())
|
||||||
// call parent
|
{
|
||||||
this._super.apply(this, arguments);
|
|
||||||
|
|
||||||
// Show loading div
|
// Show loading div
|
||||||
egw.loading_prompt(
|
egw.loading_prompt(
|
||||||
this.appname,true,egw.lang('please wait...'),
|
this.appname,true,egw.lang('please wait...'),
|
||||||
framework.applications.calendar.tab.contentDiv,
|
framework.applications.calendar.tab.contentDiv,
|
||||||
egwIsMobile()?'horizental':'spinner'
|
egwIsMobile()?'horizental':'spinner'
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// call parent
|
||||||
|
this._super.apply(this, arguments);
|
||||||
|
|
||||||
// Scroll
|
// Scroll
|
||||||
jQuery(jQuery.proxy(this._scroll,this));
|
jQuery(jQuery.proxy(this._scroll,this));
|
||||||
|
Loading…
Reference in New Issue
Block a user