From: Michael M Slusarz Date: Mon, 6 Apr 2009 23:19:29 +0000 (-0600) Subject: Remove onRemoveRows() - use onClearRows() instead. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b4dcc2a775848c91b9f24db98430cad175234802;p=horde.git Remove onRemoveRows() - use onClearRows() instead. --- 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'));