www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit cb4a79ef9d14c2ca9035429190605a1a296c4706
parent daf8808615da5db6d26d5853c97f4c5be096ff15
Author: David Norton <david@nortoncrew.com>
Date:   Wed,  5 Jul 2006 15:35:15 +0000

Fixes problem where deleting a note would accidentally hide other items in the list.

Diffstat:
Mchrome/chromeFiles/content/scholar/itemTreeView.js | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/chrome/chromeFiles/content/scholar/itemTreeView.js b/chrome/chromeFiles/content/scholar/itemTreeView.js @@ -84,8 +84,11 @@ Scholar.ItemTreeView.prototype.notify = function(action, type, ids) for(var i=0, len=rows.length; i<len; i++) { var row = rows[i]; - this._hideItem(row-i); - this._treebox.rowCountChanged(row-i,-1); + if(row != null) + { + this._hideItem(row-i); + this._treebox.rowCountChanged(row-i,-1); + } } madeChanges = true;