Do not push popup windows if we are in mobile framework

This commit is contained in:
Hadi Nategh 2018-06-29 10:05:28 +02:00
parent 89487ea0c0
commit ad913ff93d

View File

@ -224,7 +224,7 @@
{
// Timeout is 5 seconds, but it iks only applied(egw_utils) when something asks for the window list
window.setInterval(function() {
if (window.opener && window.opener.framework && typeof window.opener.framework.popup_idx(window) == 'undefined')
if (window.opener && window.opener.framework && typeof window.opener.framework.popup_idx(window) == 'undefined' && !egwIsMobile())
{
window.opener.framework.popups.push(window);
}