mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 20:51:23 +01:00
Fixed changing to a non-toplevel / iframe url did NOT allow to return to a top-level (ajax=true) one, because browser.currentLocation was not updated for iframe
This commit is contained in:
parent
b68d7f7274
commit
ea4e3ef433
@ -220,6 +220,9 @@ var fw_browser = Class.extend({
|
|||||||
catch(e) {} // catch error if eg. SiteMgr runs a different origin, otherwise tab cant be closed
|
catch(e) {} // catch error if eg. SiteMgr runs a different origin, otherwise tab cant be closed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Save the actual url which has been passed as parameter
|
||||||
|
this.currentLocation = _url;
|
||||||
|
|
||||||
//Set the browser type
|
//Set the browser type
|
||||||
if (useIframe)
|
if (useIframe)
|
||||||
{
|
{
|
||||||
@ -258,9 +261,6 @@ var fw_browser = Class.extend({
|
|||||||
{
|
{
|
||||||
this.setBrowserType(EGW_BROWSER_TYPE_DIV);
|
this.setBrowserType(EGW_BROWSER_TYPE_DIV);
|
||||||
|
|
||||||
// Save the actual url which has been passed as parameter
|
|
||||||
this.currentLocation = _url;
|
|
||||||
|
|
||||||
//Special treatement of "about:blank"
|
//Special treatement of "about:blank"
|
||||||
if (targetUrl == "about:blank")
|
if (targetUrl == "about:blank")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user