mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-10 15:30:25 +01:00
clientside redirect ignore appname only for popups, not eg. iframes like in admin
This commit is contained in:
parent
ccaa41cd92
commit
8aa71722ee
@ -406,8 +406,9 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
|
|||||||
{
|
{
|
||||||
egw_topWindow().location.href = res.data.url;
|
egw_topWindow().location.href = res.data.url;
|
||||||
}
|
}
|
||||||
// json request was originating from a different window --> redirect that one
|
// json request was originating from a different popup --> redirect that one
|
||||||
else if(this && this.DOMContainer && this.DOMContainer.ownerDocument.defaultView != window)
|
else if(this && this.DOMContainer && this.DOMContainer.ownerDocument.defaultView != window &&
|
||||||
|
egw(this.DOMContainer.ownerDocument.defaultView).is_popup())
|
||||||
{
|
{
|
||||||
this.DOMContainer.ownerDocument.location.href = res.data.url;
|
this.DOMContainer.ownerDocument.location.href = res.data.url;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user