mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
prefer window over top, which might cause a security exception
This commit is contained in:
parent
ecf001fe06
commit
c204350173
@ -281,7 +281,7 @@ egw_json_request.prototype.setAppObject = function(_app)
|
||||
egw_json_request.prototype._assembleAjaxUrl = function(_menuaction)
|
||||
{
|
||||
// Retrieve the webserver url
|
||||
var webserver_url = egw_topWindow().egw_webserverUrl;
|
||||
var webserver_url = window.egw_webserverUrl || egw_topWindow().egw_webserverUrl;
|
||||
|
||||
// Check whether the webserver_url is really set
|
||||
// Don't check for !webserver_url as it might be empty.
|
||||
|
Loading…
Reference in New Issue
Block a user