From b0edfab29b884d824e8518ccf0256ca1776ad682 Mon Sep 17 00:00:00 2001 From: Thomas Heck Date: Thu, 7 Mar 2013 11:43:33 +0100 Subject: [PATCH] =?utf8?q?JS-=C3=9Cbersetzung:=20Fehlermeldung=20unterdr?= =?utf8?q?=C3=BCcken=20und=20nur=20eine=20Abfrage=20am=20St=C3=BCck=20zula?= =?utf8?q?ssen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- js/kivi.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/kivi.js b/js/kivi.js index 93fe84ca0..77c78a2cc 100644 --- a/js/kivi.js +++ b/js/kivi.js @@ -6,6 +6,8 @@ namespace("kivi", function(ns) { ns.t8 = function(text, params) { if( ns._localeLang ) { if( !ns._locales[ns._localeLang] ) { + ns._locales[ns._localeLang] = {}; + jQuery.ajax({ url: "js/locale/"+ ns._localeLang +".js", async: false, @@ -13,9 +15,6 @@ namespace("kivi", function(ns) { success: function(res) { ns._locales[ns._localeLang] = res; }, - error: function(xhr, textStatus, errorThrown) { - alert(textStatus +": "+ errorThrown); - }, }); } -- 2.20.1