mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 12:30:04 +01:00
Force nextmatch to load affected rows by clearing the data from data store
This commit is contained in:
parent
3979b104ad
commit
71456ff8ef
@ -151,12 +151,16 @@ function nm_action(_action, _senders, _target, _ids)
|
||||
|
||||
if(_action.data.nm_action == 'open_popup')
|
||||
{
|
||||
// Force nextmatch to re-load affected rows
|
||||
for(var i = 0; i < idsArr.length; i++)
|
||||
{
|
||||
nextmatch.egw().dataStoreUID(nextmatch.egw().appName +'::'+idsArr[i],false);
|
||||
}
|
||||
|
||||
nextmatch.getInstanceManager().submit();
|
||||
|
||||
// Clear action in case there's another one
|
||||
delete nextmatch.getValue;
|
||||
|
||||
// TODO: force nextmatch to re-load affected rows
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -373,7 +373,7 @@ egw.extend("data_storage", egw.MODULE_GLOBAL, function (_app, _wnd) {
|
||||
for (var key in localStorage)
|
||||
{
|
||||
var parts = key.split("::");
|
||||
if (parts[0] === _prefix)
|
||||
if (parts[0] === _prefix && localStorage[key].data)
|
||||
{
|
||||
result.push(parts[1]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user