forked from extern/egroupware
Do not use loading prompt in notifications when we are in mobile template as it would block user interaction
This commit is contained in:
parent
68f54f3354
commit
44dc8e8241
@ -396,7 +396,7 @@
|
|||||||
var zindex = jQuery('.egwpopup_expanded').length;
|
var zindex = jQuery('.egwpopup_expanded').length;
|
||||||
_node[0].addClass('egwpopup_expanded').css('z-index', zindex++);
|
_node[0].addClass('egwpopup_expanded').css('z-index', zindex++);
|
||||||
this.checkNavButtonStatus();
|
this.checkNavButtonStatus();
|
||||||
if (jQuery('#egwpopup').is(':visible')) egw.loading_prompt('popup_notifications', true);
|
if (jQuery('#egwpopup').is(':visible') && !egwIsMobile()) egw.loading_prompt('popup_notifications', true);
|
||||||
};
|
};
|
||||||
|
|
||||||
notifications.prototype.nav_button = function (_params, _event){
|
notifications.prototype.nav_button = function (_params, _event){
|
||||||
@ -536,7 +536,7 @@
|
|||||||
}
|
}
|
||||||
// try to close the dialog if expanded before hidding it
|
// try to close the dialog if expanded before hidding it
|
||||||
this.collapseMessage(_node, _event);
|
this.collapseMessage(_node, _event);
|
||||||
if (keepLoadingPrompt) egw.loading_prompt('popup_notifications', true);
|
if (keepLoadingPrompt && !egwIsMobile()) egw.loading_prompt('popup_notifications', true);
|
||||||
egwpopup_message.remove();
|
egwpopup_message.remove();
|
||||||
this.bell("inactive");
|
this.bell("inactive");
|
||||||
this.counterUpdate();
|
this.counterUpdate();
|
||||||
|
Loading…
Reference in New Issue
Block a user