Bug 1059877 - Add type=radio to toolbox frame popup menuitems. r=ochameau

This commit is contained in:
Tim Nguyen 2015-07-03 04:33:00 -04:00
parent b4af3b2b5c
commit 74dd8178ad

View File

@ -1541,6 +1541,7 @@ Toolbox.prototype = {
}
if (!item) {
item = this.doc.createElement("menuitem");
item.setAttribute("type", "radio");
item.setAttribute("data-window-id", win.id);
if (win.parentID) {
item.setAttribute("data-parent-id", win.parentID);