summaryrefslogtreecommitdiffstats
path: root/slick.dataview.js
diff options
context:
space:
mode:
Diffstat (limited to 'slick.dataview.js')
-rw-r--r--slick.dataview.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/slick.dataview.js b/slick.dataview.js
index a0599d4..f8272e7 100644
--- a/slick.dataview.js
+++ b/slick.dataview.js
@@ -68,7 +68,7 @@
if (args.pageNum != undefined)
pagenum = Math.min(args.pageNum, Math.ceil(totalRows / pagesize));
- onPagingInfoChanged.notify(getPagingInfo());
+ onPagingInfoChanged.notify(getPagingInfo(), null, self);
refresh();
}
@@ -231,9 +231,9 @@
updated = null;
- if (totalRowsBefore != totalRows) onPagingInfoChanged.notify(getPagingInfo());
- if (countBefore != rows.length) onRowCountChanged.notify({previous:countBefore, current:rows.length});
- if (diff.length > 0) onRowsChanged.notify(diff);
+ if (totalRowsBefore != totalRows) onPagingInfoChanged.notify(getPagingInfo(), null, self);
+ if (countBefore != rows.length) onRowCountChanged.notify({previous:countBefore, current:rows.length}, null, self);
+ if (diff.length > 0) onRowsChanged.notify({rows:diff}, null, self);
}