언어변경 스크립트의 doChangeLang함수에서 인자값이 string이면 바로 언어 변경하도록 코드 추가

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2108 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-01 07:25:19 +00:00
parent 0102a67641
commit 571f215826

View file

@ -556,8 +556,12 @@ function open_calendar(fo_id, day_str, callback_func) {
// 언어코드 (lang_type) 쿠키값 변경
function doChangeLangType(obj) {
var val = obj.options[obj.selectedIndex].value;
setLangType(val);
if(typeof(obj)=="string") {
setLangType(obj);
} else {
var val = obj.options[obj.selectedIndex].value;
setLangType(val);
}
location.reload();
}
function setLangType(lang_type) {