mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-10 08:47:46 +02:00
Now using the etemplate code from the root instance (etemplate2.js acts as a egw api plugin); fixed egw.json plugins; fixed problem with 'instanceof Object', which does not work when sharing code over multiple windows
This commit is contained in:
@ -149,6 +149,13 @@ egw.extend('utils', egw.MODULE_GLOBAL, function() {
|
||||
|
||||
ajaxUrl: function(_menuaction) {
|
||||
return this.webserverUrl + '/json.php?menuaction=' + _menuaction;
|
||||
},
|
||||
|
||||
elemWindow: function(_elem) {
|
||||
var res =
|
||||
_elem.ownerDocument.parentNode ||
|
||||
_elem.ownerDocument.defaultView;
|
||||
return res;
|
||||
}
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user