From 54c887155981d7e2b097954e83e63352e74fb9ed Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 9 May 2013 18:38:19 +0200 Subject: [PATCH] in setLocale, only call callback once --- source/Ox/js/Locale.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox/js/Locale.js b/source/Ox/js/Locale.js index 0ecc311d..85d3e7f2 100644 --- a/source/Ox/js/Locale.js +++ b/source/Ox/js/Locale.js @@ -37,8 +37,8 @@ Ox.getJSON(urls, function(data) { urls.forEach(function(url) { Ox.extend(translations, data[url]); - callback(true); }); + callback(true); }); } } else {