mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Call framework specific window opener if it is on mobile framework
This commit is contained in:
parent
cfaae06d37
commit
23d4e045f3
@ -280,7 +280,14 @@ 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();
|
||||
var popup_window = _wnd.egw_openWindowCentered2(url, _target || '_blank', w_h[0], w_h[1], false, _target_app, true);
|
||||
if (_wnd.framework && egwIsMobile())
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
// Remember which windows are open
|
||||
egw().storeWindow(_target_app, popup_window);
|
||||
|
Loading…
Reference in New Issue
Block a user