mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-13 15:08:33 +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)
|
switch(_type)
|
||||||
{
|
{
|
||||||
case "update":
|
case "update":
|
||||||
if(!egw().dataRefreshUID(uid))
|
if(!this.egw().dataRefreshUID(uid))
|
||||||
{
|
{
|
||||||
// Could not update just that row
|
// Could not update just that row
|
||||||
this.applyFilters();
|
this.applyFilters();
|
||||||
@ -457,9 +457,9 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
|
|||||||
break;
|
break;
|
||||||
case "delete":
|
case "delete":
|
||||||
// Blank the row
|
// Blank the row
|
||||||
egw().dataStoreUID(uid,null);
|
this.egw().dataStoreUID(uid,null);
|
||||||
// Stop caring about this ID
|
// Stop caring about this ID
|
||||||
egw().dataUnregisterUID(uid);
|
this.egw().dataUnregisterUID(uid);
|
||||||
// Update the count
|
// Update the count
|
||||||
this.options.settings.total -= 1;
|
this.options.settings.total -= 1;
|
||||||
// This triggers an invalidate, which may update the grid in needed
|
// This triggers an invalidate, which may update the grid in needed
|
||||||
|
Loading…
Reference in New Issue
Block a user