www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d6fe660948595024de28791aee35b2200ae7babc
parent f23cb8a6b2c5526a894dc290a04334adb1a49728
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Sun,  7 Apr 2013 11:58:37 -0400

Rerender the page after selecting a locale (so error messages will be replaces).  Probably should jsut rerender those equations with error messages to avoid delays.

Diffstat:
Munpacked/extensions/MathMenu.js | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/unpacked/extensions/MathMenu.js b/unpacked/extensions/MathMenu.js @@ -883,12 +883,11 @@ }; /* - * Handle selection of locale + * Handle selection of locale and rerender the page */ MENU.Locale = function () { MathJax.Localization.setLocale(CONFIG.settings.locale); - // FIXME: Rerender the page? (To force error messages to change?) - // Just rerender error messages? + MathJax.Hub.Queue(["Reprocess",MathJax.Hub]); // FIXME: Just reprocess error messages? }; MENU.LoadLocale = function () { var url = prompt(_("LoadURL","Load translation data from this URL:"));