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.

This commit is contained in:
Davide P. Cervone 2013-04-07 11:58:37 -04:00
parent f23cb8a6b2
commit d6fe660948

View File

@ -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:"));