Support langs.

Change-Id: Ia01e4b41f0ebf2c54669428eef143dce5611d0bd
This commit is contained in:
Dirk Dougherty
2014-11-18 19:34:34 -08:00
parent 0dd70276f6
commit b87e300056
6 changed files with 74 additions and 10 deletions

View File

@@ -20,6 +20,17 @@ $.ajaxSetup({
/****** ON LOAD SET UP STUFF *********/
$(document).ready(function() {
// show lang dialog if the URL includes /intl/
//if (location.pathname.substring(0,6) == "/intl/") {
// var lang = location.pathname.split('/')[2];
// if (lang != getLangPref()) {
// $("#langMessage a.yes").attr("onclick","changeLangPref('" + lang
// + "', true); $('#langMessage').hide(); return false;");
// $("#langMessage .lang." + lang).show();
// $("#langMessage").show();
// }
//}
// load json file for JD doc search suggestions
$.getScript(toRoot + 'jd_lists_unified.js');
@@ -4203,4 +4214,4 @@ function showSamples() {
}
}
}
})();
})();