Remove onRemoveRows() - use onClearRows() instead.
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 6 Apr 2009 23:19:29 +0000 (17:19 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 6 Apr 2009 23:19:29 +0000 (17:19 -0600)
imp/js/src/ViewPort.js

index ec5bd5b..a8ce673 100644 (file)
@@ -211,8 +211,8 @@ var ViewPort = Class.create({
     {
         this._getBuffer(opts.view).setMetaData({ total_rows: this.getMetaData('total_rows', opts.view) - vs.size() }, true);
 
-        if (this.opts.onRemoveRows) {
-            this.opts.onRemoveRows(vs);
+        if (this.opts.onClearRows) {
+            this.opts.onClearRows(vs.get('div').compact());
         }
 
         this._getBuffer().remove(vs.get('rownum'));