From b4dcc2a775848c91b9f24db98430cad175234802 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 6 Apr 2009 17:19:29 -0600 Subject: [PATCH] Remove onRemoveRows() - use onClearRows() instead. --- imp/js/src/ViewPort.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/js/src/ViewPort.js b/imp/js/src/ViewPort.js index ec5bd5b58..a8ce67386 100644 --- a/imp/js/src/ViewPort.js +++ b/imp/js/src/ViewPort.js @@ -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')); -- 2.11.0