зеркало из https://github.com/mozilla/gecko-dev.git
Checked in attachment 156049 for bug 231765
This commit is contained in:
Родитель
fd0fc3e343
Коммит
e0c0cced4e
|
@ -1203,6 +1203,7 @@ function addException( dateToAdd )
|
|||
|
||||
//add a row to the listbox.
|
||||
var listbox = document.getElementById( "exception-dates-listbox" );
|
||||
//ensure user can see that add occurred (also, avoid bug 231765, bug 250123)
|
||||
listbox.ensureElementIsVisible( listbox.appendItem( DateLabel, dateToAdd.getTime() ));
|
||||
|
||||
sizeToContent();
|
||||
|
|
|
@ -1241,6 +1241,7 @@ function addException( dateToAdd )
|
|||
|
||||
//add a row to the listbox
|
||||
var listbox = document.getElementById( "exception-dates-listbox" );
|
||||
//ensure user can see that add occurred (also, avoid bug 231765, bug 250123)
|
||||
listbox.ensureElementIsVisible( listbox.appendItem( DateLabel, dateToAdd.getTime() ));
|
||||
|
||||
sizeToContent();
|
||||
|
|
Загрузка…
Ссылка в новой задаче