mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
* Api: Fix bug where some links opened in the application's main tab instead of popups
Now keeping addressbook & projectmanager opening in main tab
This commit is contained in:
parent
00d995b4b5
commit
87501bb2a9
@ -308,7 +308,7 @@ egw.extend('open', egw.MODULE_WND_LOCAL, function(_egw, _wnd)
|
||||
if (_popup && _popup.indexOf('x') > 0)
|
||||
{
|
||||
var w_h = _popup.split('x');
|
||||
var popup_window = this.openPopup(url, w_h[0], w_h[1], _target || '_blank', _target_app, true);
|
||||
var popup_window = this.openPopup(url, w_h[0], w_h[1], _target && _target != _target_app ? _target : '_blank', _target_app, true);
|
||||
|
||||
// Remember which windows are open
|
||||
egw().storeWindow(_target_app, popup_window);
|
||||
|
Loading…
Reference in New Issue
Block a user