diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2011-04-16 11:52:37 -0400 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2011-04-16 11:52:37 -0400 |
commit | 309dff2bf948ab191ccb1e8d4a777e49ad498820 (patch) | |
tree | 813350181be64e239287c0bb587a3a49320a49b7 /js/lib/languages.js | |
parent | 119ec1f1425ab77ed29c696d99c0c80df3886791 (diff) | |
parent | 2b2afd98c05139c1a5c25f1752e2bb412e26e335 (diff) | |
download | elgg-309dff2bf948ab191ccb1e8d4a777e49ad498820.tar.gz elgg-309dff2bf948ab191ccb1e8d4a777e49ad498820.tar.bz2 |
Merge branch 'master' of github.com:Elgg/Elgg
Diffstat (limited to 'js/lib/languages.js')
-rw-r--r-- | js/lib/languages.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/js/lib/languages.js b/js/lib/languages.js index 0e3cf4472..4cfe84968 100644 --- a/js/lib/languages.js +++ b/js/lib/languages.js @@ -25,11 +25,10 @@ elgg.add_translation = function(lang, translations) { */ elgg.reload_all_translations = function(language) { var lang = language || elgg.get_language(); - // This...................vvvvv is a double encoded question mark (? -> %2f -> %252f) - elgg.getJSON('js/languages%252f' + lang + '.js', { + + elgg.getJSON('ajax/view/js/languages', { data: { - 'viewtype': 'default', - 'lastcache': elgg.config.lastcache + language: lang }, success: function(json) { elgg.add_translation(lang, json); |