Bug 483383 - The accesskey for the More/Less button in Library is not correctly set; r=mak77

This commit is contained in:
Ehsan Akhgari 2009-03-19 21:12:28 +03:30
Родитель 962128c7e7
Коммит 6b8346cc2e
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -771,13 +771,13 @@ var PlacesOrganizer = {
if (infoBox.getAttribute("minimal") == "true") {
infoBox.removeAttribute("minimal");
infoBoxExpanderLabel.value = infoBoxExpanderLabel.getAttribute("lesslabel");
infoBoxExpanderLabel.setAttribute("accesskey", infoBoxExpanderLabel.getAttribute("lessaccesskey"));
infoBoxExpanderLabel.accessKey = infoBoxExpanderLabel.getAttribute("lessaccesskey");
infoBoxExpander.className = "expander-up";
}
else {
infoBox.setAttribute("minimal", "true");
infoBoxExpanderLabel.value = infoBoxExpanderLabel.getAttribute("morelabel");
infoBoxExpanderLabel.setAttribute("accesskey", infoBoxExpanderLabel.getAttribute("moreaccesskey"));
infoBoxExpanderLabel.accessKey = infoBoxExpanderLabel.getAttribute("moreaccesskey");
infoBoxExpander.className = "expander-down";
}
},