Merge pull request #1627 from dpvc/menu-patch

Move AssistiveMML and InTabOrder menus to new Accessibility submenu (…
This commit is contained in:
Davide P. Cervone 2016-10-02 11:57:32 -04:00 committed by GitHub
commit d1a178c027

View File

@ -1555,9 +1555,7 @@
ITEM.RADIO(["SVG","SVG"], "renderer", {action: MENU.Renderer}), ITEM.RADIO(["SVG","SVG"], "renderer", {action: MENU.Renderer}),
ITEM.RADIO(["PlainSource","Plain Source"],"renderer", {action: MENU.Renderer, value:"PlainSource"}), ITEM.RADIO(["PlainSource","Plain Source"],"renderer", {action: MENU.Renderer, value:"PlainSource"}),
ITEM.RULE(), ITEM.RULE(),
ITEM.CHECKBOX(["FastPreview","Fast Preview"], "FastPreview"), ITEM.CHECKBOX(["FastPreview","Fast Preview"], "FastPreview")
ITEM.CHECKBOX(["AssistiveMML","Assistive MathML"], "assistiveMML", {action:MENU.AssistiveMML}),
ITEM.CHECKBOX(["InTabOrder","Include in Tab Order"], "inTabOrder")
), ),
ITEM.SUBMENU("MathPlayer", {hidden:!HUB.Browser.isMSIE || !CONFIG.showMathPlayer, ITEM.SUBMENU("MathPlayer", {hidden:!HUB.Browser.isMSIE || !CONFIG.showMathPlayer,
disabled:!HUB.Browser.hasMathPlayer}, disabled:!HUB.Browser.hasMathPlayer},
@ -1591,6 +1589,10 @@
ITEM.RULE().With({hidden:!CONFIG.showDiscoverable, name:["","discover_rule"]}), ITEM.RULE().With({hidden:!CONFIG.showDiscoverable, name:["","discover_rule"]}),
ITEM.CHECKBOX(["Discoverable","Highlight on Hover"], "discoverable", {hidden:!CONFIG.showDiscoverable}) ITEM.CHECKBOX(["Discoverable","Highlight on Hover"], "discoverable", {hidden:!CONFIG.showDiscoverable})
), ),
ITEM.SUBMENU(["Accessibility","Accessibility"],
ITEM.CHECKBOX(["AssistiveMML","Assistive MathML"], "assistiveMML", {action:MENU.AssistiveMML}),
ITEM.CHECKBOX(["InTabOrder","Include in Tab Order"], "inTabOrder")
),
ITEM.SUBMENU(["Locale","Language"], {hidden:!CONFIG.showLocale, ltr:true}, ITEM.SUBMENU(["Locale","Language"], {hidden:!CONFIG.showLocale, ltr:true},
ITEM.RADIO("en", "locale", {action: MENU.Locale}), ITEM.RADIO("en", "locale", {action: MENU.Locale}),
ITEM.RULE().With({hidden:!CONFIG.showLocaleURL, name:["","localURL_rule"]}), ITEM.RULE().With({hidden:!CONFIG.showLocaleURL, name:["","localURL_rule"]}),