mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 02:39:56 +09:00
언어변경 스크립트의 doChangeLang함수에서 인자값이 string이면 바로 언어 변경하도록 코드 추가
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2108 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0102a67641
commit
571f215826
1 changed files with 6 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue