Decrement row count when refreshing a delete

This commit is contained in:
Nathan Gray 2013-12-04 21:12:25 +00:00
parent 3596b74f01
commit 6f90cb8fb3

View File

@ -454,6 +454,10 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
egw().dataStoreUID(uid,null);
// Stop caring about this ID
egw().dataUnregisterUID(uid);
// Update the count
this.options.settings.total -= 1;
// This triggers an invalidate, which may update the grid in needed
this.dataview.grid.setTotalCount(this.options.settings.total);
break;
case "edit":
case "add":