From 3f44b025aa99d95d76ac262ef0e977185f655cc7 Mon Sep 17 00:00:00 2001 From: "dwitte%stanford.edu" Date: Thu, 27 Jul 2006 14:55:49 +0000 Subject: [PATCH] follow-up to bug 202131: BubbleSort is too slow. fixes an omission that was supposed to go in with the original patch. p=neil, r=dwitte, sr=darin, a=sspitzer. --- suite/common/permissions/treeUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/common/permissions/treeUtils.js b/suite/common/permissions/treeUtils.js index 18badb50d39..94c76708dae 100644 --- a/suite/common/permissions/treeUtils.js +++ b/suite/common/permissions/treeUtils.js @@ -160,7 +160,7 @@ function SortTree(tree, view, table, column, lastSortColumn, lastSortAscending, // display the results tree.treeBoxObject.invalidate(); - if (selectedRow>0) { + if (selectedRow >= 0) { tree.treeBoxObject.ensureRowIsVisible(selectedRow) }