commit c482d7973b724e4274ad4127a15c4a3ef493c7d8
parent 7b735d6abfa0ddedba3c148d65249fd4aca3d961
Author: Davide P. Cervone <dpvc@union.edu>
Date: Mon, 13 May 2013 19:15:29 -0400
Hide 'Load from URL' menu for now (until we decide what to do about making it sticky)
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/unpacked/extensions/MathMenu.js b/unpacked/extensions/MathMenu.js
@@ -56,6 +56,7 @@
showContext: false, // show the "Context Menu" menu?
showDiscoverable: false, // show the "Discoverable" menu?
showLocale: true, // show the "Locale" menu?
+ showLocaleURL: false, // show the "Load from URL" menu?
windowSettings: { // for source window
status: "no", toolbar: "no", locationbar: "no", menubar: "no",
@@ -1071,8 +1072,8 @@
),
ITEM.SUBMENU(["Locale","Language"], {hidden:!CONFIG.showLocale},
ITEM.RADIO("en", "locale", {action: MENU.Locale}),
- ITEM.RULE(),
- ITEM.COMMAND(["LoadLocale","Load from URL ..."], MENU.LoadLocale)
+ ITEM.RULE().With({hidden:!CONFIG.showLocaleURL, name:["","localURL_rule"]}),
+ ITEM.COMMAND(["LoadLocale","Load from URL ..."], MENU.LoadLocale, {hidden:!CONFIG.showLocaleURL})
),
ITEM.RULE(),
ITEM.COMMAND(["About","About MathJax"],MENU.About),