equal
deleted
inserted
replaced
15 } |
15 } |
16 if ( !have_lang ) |
16 if ( !have_lang ) |
17 { |
17 { |
18 // load the language file |
18 // load the language file |
19 load_show_win('strings'); |
19 load_show_win('strings'); |
|
20 console.info('Loading language ' + lang_id + ' via AJAX synchronous request'); |
20 var ajax = ajaxMakeXHR(); |
21 var ajax = ajaxMakeXHR(); |
21 var uri = makeUrlNS('Special', 'LangExportJSON/' + lang_id); |
22 var uri = makeUrlNS('Special', 'LangExportJSON/' + lang_id); |
22 ajax.open('GET', uri, false); |
23 ajax.open('GET', uri, false); |
23 ajax.send(null); |
24 ajax.send(null); |
24 if ( ajax.readyState == 4 && ajax.status == 200 ) |
25 if ( ajax.readyState == 4 && ajax.status == 200 ) |