projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2473bd3
)
JS-Übersetzung: Fehlermeldung unterdrücken und nur eine Abfrage am Stück zulassen
author
Thomas Heck
<theck@linet-services.de>
Thu, 7 Mar 2013 10:43:33 +0000
(11:43 +0100)
committer
Thomas Heck
<theck@linet-services.de>
Thu, 7 Mar 2013 10:43:33 +0000
(11:43 +0100)
js/kivi.js
patch
|
blob
|
history
diff --git
a/js/kivi.js
b/js/kivi.js
index
93fe84c
..
77c78a2
100644
(file)
--- 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);
- },
});
}