зеркало из https://github.com/mozilla/pjs.git
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.
This commit is contained in:
Родитель
155018864c
Коммит
3f44b025aa
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче