includes/clientside/static/l10n.js
changeset 588 20484deb89cd
parent 586 234ddd896555
child 780 f65e35566b63
equal deleted inserted replaced
587:705ed7162315 588:20484deb89cd
    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 )