mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 13:03:16 +01:00
allow to use "availHeight" in openPopup() too
This commit is contained in:
parent
b9228c8fb5
commit
ce479698e0
@ -279,7 +279,6 @@ egw.extend('open', egw.MODULE_WND_LOCAL, function(_egw, _wnd)
|
||||
if (_popup)
|
||||
{
|
||||
var w_h = _popup.split('x');
|
||||
if (w_h[1] == 'availHeight') w_h[1] = this.availHeight();
|
||||
var popup_window = this.openPopup(url, w_h[0], w_h[1], _target || '_blank', _target_app, true);
|
||||
|
||||
// Remember which windows are open
|
||||
@ -321,6 +320,8 @@ egw.extend('open', egw.MODULE_WND_LOCAL, function(_egw, _wnd)
|
||||
// Log for debugging purposes
|
||||
egw.debug("navigation", "openPopup(%s, %s, %s, %o, %s, %s)",_url,_windowName,_width,_height,_status,_app);
|
||||
|
||||
if (_height == 'availHeight') _height = this.availHeight();
|
||||
|
||||
// if we have a framework and we use mobile template --> let framework deal with opening popups
|
||||
if (!_skip_framework && _wnd.framework)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user