зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1078213 - Search bar binding shouldn't set IDs for menuitems. r=MattN
--HG-- extra : transplant_source : %3EG%1A%90P%81%C0%F9%8C%8A%16%93%D5e%BC%86%85%A4%99%CD
This commit is contained in:
Родитель
72ea5c797e
Коммит
28e2c117a7
|
@ -397,7 +397,6 @@
|
|||
var menuitem = document.createElementNS(kXULNS, "menuitem");
|
||||
var name = engines[i].name;
|
||||
menuitem.setAttribute("label", name);
|
||||
menuitem.setAttribute("id", name);
|
||||
menuitem.setAttribute("class", "menuitem-iconic searchbar-engine-menuitem menuitem-with-favicon");
|
||||
// Since this menu is rebuilt by the observer method whenever a new
|
||||
// engine is selected, the "selected" attribute does not need to be
|
||||
|
|
Загрузка…
Ссылка в новой задаче