Fix bug 416195 - selected calendar not highlighted in import and export. r=ssitter, p=berend
git-svn-id: svn://10.0.0.236/trunk@254193 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b823b55f37
commit
7e8bc95991
@ -95,8 +95,9 @@
|
||||
document.getElementById("prompt").value = window.arguments[0].promptText;
|
||||
|
||||
if (calendars.length) {
|
||||
listbox.selectedIndex = selectedIndex;
|
||||
listbox.ensureIndexIsVisible(selectedIndex);
|
||||
var selItem = listbox.getItemAtIndex(selectedIndex);
|
||||
listbox.timedSelect(selItem, 0);
|
||||
} else {
|
||||
// If there are no calendars, then disable the accept button
|
||||
document.documentElement.getButton("accept").setAttribute("disabled", "true");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user