Fix an error caused by landing the wrong patch for bug 340540, original patch r=mconnor
git-svn-id: svn://10.0.0.236/trunk@200840 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -104,7 +104,7 @@ var gEngineManagerDialog = {
|
||||
gEngineView.rowCountChanged(index, -1);
|
||||
gEngineView.invalidate();
|
||||
gEngineView.selection.select(Math.min(index, gEngineView.lastIndex));
|
||||
gEngineView.ensureRowIsVisible(index);
|
||||
gEngineView.ensureRowIsVisible(Math.min(index, gEngineView.lastIndex));
|
||||
document.getElementById("engineList").focus();
|
||||
},
|
||||
|
||||
@@ -121,7 +121,7 @@ var gEngineManagerDialog = {
|
||||
|
||||
gEngineView.invalidate();
|
||||
gEngineView.selection.select(newIndex);
|
||||
gEngineView.ensureRowIsVisible(index);
|
||||
gEngineView.ensureRowIsVisible(newIndex);
|
||||
document.getElementById("engineList").focus();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user