diff --git a/static/js/helpDialog.js b/static/js/helpDialog.js index f3b4cd32..536012ae 100644 --- a/static/js/helpDialog.js +++ b/static/js/helpDialog.js @@ -48,9 +48,17 @@ pandora.ui.helpDialog = function() { that.select(data.value == '' ? 'help' : data.value); } } - }); + }), + url = '/static/html/help.html'; - Ox.get('/static/html/help.html', function(html) { + /* + // FIXME: should be updated at build time + if (Ox.contains(['ar'], pandora.user.ui.locale)) { + url = '/static/html/help.' + pandora.user.ui.locale + '.html'; + } + */ + + Ox.get(url, function(html) { var $html = $('