Bug 133842: Accesskey 'B' was incorrectly applied to every item in the View > Use Style menu. Patch by fantasai@escape.com, r=jag, sr=alecf, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117758 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5434ff0201
commit
8425aa9659
@ -1314,7 +1314,8 @@ function stylesheetFillPopup(menuPopup)
|
||||
lastWithSameTitle = currentStyleSheets[currentStyleSheet.title];
|
||||
|
||||
if (!lastWithSameTitle) {
|
||||
var menuItem = itemNoOptStyles.cloneNode(false);
|
||||
var menuItem = document.createElement("menuitem");
|
||||
menuItem.setAttribute("type", "radio");
|
||||
menuItem.setAttribute("label", currentStyleSheet.title);
|
||||
menuItem.setAttribute("data", currentStyleSheet.title);
|
||||
menuItem.setAttribute("checked", !currentStyleSheet.disabled);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user