Don't mistake an attribute for a property.
Bug 478800 - Drop-down 'View:' menu displays 'undefined' when you try and use Tags, or Custom Views. r+moa=mnyromyr
This commit is contained in:
Родитель
c84dc60fe7
Коммит
e45806ccea
|
@ -155,7 +155,7 @@ function GetLabelForValue(aValue)
|
|||
RefreshAllViewPopups(viewPickerPopup, true);
|
||||
selectedItems = viewPickerPopup.getElementsByAttribute("value", aValue);
|
||||
}
|
||||
label = selectedItems && selectedItems.length && selectedItems.item(0).label;
|
||||
label = selectedItems && selectedItems.length && selectedItems.item(0).getAttribute("label");
|
||||
}
|
||||
return label;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче