Fix typo causing wrong record count after delete

This commit is contained in:
Nathan Gray 2014-01-18 11:58:34 +00:00
parent 46c80212ba
commit f3762d9884

View File

@ -480,7 +480,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
// then triggers an invalidate, which may update the grid
// this.dataview.grid.setTotalCount(this.options.settings.total);
// Update directly instead
this.dataview.grid._total -= this.options.settings.total;
this.dataview.grid._total = this.options.settings.total;
this.controller._selectionMgr._total = this.options.settings.total;
this.header.count_total.text(this.options.settings.total+"");