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;
return;
}
else if (window.top == window && !egw(window).is_popup())
{
// Show loading div
egw.loading_prompt(
this.appname,true,egw.lang('please wait...'),
framework.applications.calendar.tab.contentDiv,
egwIsMobile()?'horizental':'spinner'
);
}
// call parent
this._super.apply(this, arguments);
// Show loading div
egw.loading_prompt(
this.appname,true,egw.lang('please wait...'),
framework.applications.calendar.tab.contentDiv,
egwIsMobile()?'horizental':'spinner'
);
// Scroll
jQuery(jQuery.proxy(this._scroll,this));