mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
also switching to "internal" popups for mobile theme
This commit is contained in:
parent
23d4e045f3
commit
076b928d39
@ -280,12 +280,12 @@ egw.extend('open', egw.MODULE_WND_LOCAL, function(_egw, _wnd)
|
||||
{
|
||||
var w_h = _popup.split('x');
|
||||
if (w_h[1] == 'availHeight') w_h[1] = this.availHeight();
|
||||
if (_wnd.framework && egwIsMobile())
|
||||
if (_wnd.framework && (egwIsMobile() || egw.preference('theme') == 'mobile'))
|
||||
{
|
||||
var popup_window = _wnd.framework.egw_openWindowCentered2(url, _target || '_blank', w_h[0], w_h[1], false, _target_app, true, _wnd);
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
var popup_window = _wnd.egw_openWindowCentered2(url, _target || '_blank', w_h[0], w_h[1], false, _target_app, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user