From d51667e5316d0c6a4749b319b2c466d20e4a5d4c Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Sat, 7 Feb 2004 19:43:31 +0000 Subject: [PATCH] Bug 197667 sidebar name list becomes bottom-justifed r=silver Note that this the underlying bug has been fixed on the trunk, this is just to allow new xpis to work on old builds. --- extensions/irc/xul/content/static.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/irc/xul/content/static.js b/extensions/irc/xul/content/static.js index 6893eb909afc..00671973730d 100644 --- a/extensions/irc/xul/content/static.js +++ b/extensions/irc/xul/content/static.js @@ -1832,7 +1832,7 @@ function setCurrentObject (obj) /* Remove currently selected items before this tree gets rerooted, * because it seems to remember the selections for eternity if not. */ if (userList.treeBoxObject.selection) - userList.treeBoxObject.selection.clearSelection (); + userList.treeBoxObject.selection.select(-1); if (obj.TYPE == "IRCChannel") {