Do not show loading prompt for popups

This commit is contained in:
Nathan Gray 2016-04-06 15:19:24 +00:00
parent ffaeb52bce
commit 8df7c00b21

View File

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