summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--slick.model.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/slick.model.js b/slick.model.js
index c8973f7..e4cf831 100644
--- a/slick.model.js
+++ b/slick.model.js
@@ -173,7 +173,6 @@ function DataView() {
rows.splice(currentPageIndex, rl - currentPageIndex);
totalRows = currentRowIndex;
- updated = null;
return diff;
}
@@ -192,6 +191,8 @@ function DataView() {
pagenum = Math.floor(totalRows/pagesize);
diff = recalc(items,rows,filter,updated);
}
+
+ updated = null;
if (totalRowsBefore != totalRows) onPagingInfoChanged.notify(getPagingInfo());
if (countBefore != rows.length) onRowCountChanged.notify({previous:countBefore, current:rows.length});