mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Use this.egw() to get the correct (app level) data cache, which stores appname internally.
Fixes permission denied popup when updating.
This commit is contained in:
parent
51d802ec78
commit
be0878f883
@ -448,7 +448,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
|
||||
switch(_type)
|
||||
{
|
||||
case "update":
|
||||
if(!egw().dataRefreshUID(uid))
|
||||
if(!this.egw().dataRefreshUID(uid))
|
||||
{
|
||||
// Could not update just that row
|
||||
this.applyFilters();
|
||||
@ -457,9 +457,9 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
|
||||
break;
|
||||
case "delete":
|
||||
// Blank the row
|
||||
egw().dataStoreUID(uid,null);
|
||||
this.egw().dataStoreUID(uid,null);
|
||||
// Stop caring about this ID
|
||||
egw().dataUnregisterUID(uid);
|
||||
this.egw().dataUnregisterUID(uid);
|
||||
// Update the count
|
||||
this.options.settings.total -= 1;
|
||||
// This triggers an invalidate, which may update the grid in needed
|
||||
|
Loading…
Reference in New Issue
Block a user