mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-15 02:42:30 +02:00
Window dependant api modules do now get reinstanciated, if the window location changes
This commit is contained in:
@ -143,6 +143,8 @@ egw.extend('utils', egw.MODULE_GLOBAL, function() {
|
||||
}
|
||||
}
|
||||
|
||||
var uid_counter = 0;
|
||||
|
||||
// Create the utils object which contains references to all functions
|
||||
// covered by it.
|
||||
var utils = {
|
||||
@ -156,6 +158,10 @@ egw.extend('utils', egw.MODULE_GLOBAL, function() {
|
||||
_elem.ownerDocument.parentNode ||
|
||||
_elem.ownerDocument.defaultView;
|
||||
return res;
|
||||
},
|
||||
|
||||
uid: function() {
|
||||
return (uid_counter++).toString(16);
|
||||
}
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user