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.


git-svn-id: svn://10.0.0.236/trunk@141998 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dwitte%stanford.edu 2003-05-01 04:53:14 +00:00
parent 96f184653e
commit ff4a67b324
3 changed files with 3 additions and 3 deletions

View File

@ -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)
}

View File

@ -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)
}

View File

@ -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)
}