mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Fix bug #9925: Down arrow behaves incorrectly.
This commit is contained in:
parent
0e3f2dbe1b
commit
8d06b361dc
@ -122,6 +122,7 @@ function moveDown() {
|
||||
var optionAfter = list.childNodes.item(index+1);
|
||||
list.remove(index+1);
|
||||
list.insertBefore(optionAfter, selectedOption);
|
||||
list.selectedIndex = index + 1;
|
||||
enableButtons();
|
||||
enableSave();
|
||||
}
|
||||
|
@ -122,6 +122,7 @@ function moveDown() {
|
||||
var optionAfter = list.childNodes.item(index+1);
|
||||
list.remove(index+1);
|
||||
list.insertBefore(optionAfter, selectedOption);
|
||||
list.selectedIndex = index + 1;
|
||||
enableButtons();
|
||||
enableSave();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user