fix loading locale

This commit is contained in:
j 2013-12-27 10:29:07 +00:00
parent e57fa72b47
commit 8ed3964dc0

View file

@ -48,8 +48,8 @@
urls.push(Ox.makeArray(value));
});
Ox.getJSON(urls, function(data) {
urls.forEach(function(url) {
Ox.extend(translations, data[url]);
Ox.forEach(data, function(values, url) {
Ox.extend(translations, values);
});
callback(true);
});