mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
Make sure admin iframe is there before trying to redirect it, fixes error blocking close of unviewed Admin tab
This commit is contained in:
parent
0c5ed3aefd
commit
f049892993
@ -118,7 +118,7 @@ app.classes.admin = AppJS.extend(
|
||||
linkHandler: function(_url)
|
||||
{
|
||||
var matches;
|
||||
if (!_url.match('menuaction=admin.admin_ui.index') ||
|
||||
if (this.iframe != null && !_url.match('menuaction=admin.admin_ui.index') ||
|
||||
(matches = _url.match(/menuaction=admin.admin_ui.index.*&load=([^&]+)/)))
|
||||
{
|
||||
if (matches)
|
||||
|
Loading…
Reference in New Issue
Block a user