mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 08:58:25 +01:00
Allow :: inside data UIDs
This commit is contained in:
parent
bcfaa60405
commit
33b01975b2
@ -418,9 +418,10 @@ egw.extend("data_storage", egw.MODULE_GLOBAL, function (_app, _wnd) {
|
||||
for (var key in localStorage)
|
||||
{
|
||||
var parts = key.split("::");
|
||||
if (parts[0] === _prefix && localStorage[key].data)
|
||||
if (parts.shift() === _prefix && localStorage[key].data)
|
||||
{
|
||||
result.push(parts[1]);
|
||||
|
||||
result.push(parts.join('::'));
|
||||
}
|
||||
}
|
||||
|
||||
@ -501,9 +502,9 @@ egw.extend("data_storage", egw.MODULE_GLOBAL, function (_app, _wnd) {
|
||||
var nextmatchId = registeredCallbacks[_uid][0].widgetId;
|
||||
var uid = _uid.split("::");
|
||||
var context = {
|
||||
"prefix":uid[0]
|
||||
"prefix":uid.shift()
|
||||
};
|
||||
uid = uid[uid.length - 1];
|
||||
uid = uid.join("::");
|
||||
|
||||
this.dataFetch(_execId, {'refresh':uid}, {}, nextmatchId,false, context, [uid]);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user