diff --git a/common/js/xml_js_filter.js b/common/js/xml_js_filter.js index 2ed54a51b..ea46bc304 100644 --- a/common/js/xml_js_filter.js +++ b/common/js/xml_js_filter.js @@ -33,7 +33,7 @@ var Validator = xe.createApp('Validator', { // korean var regKor = /^[가-힣]*$/; - this.cast('ADD_RULE', ['koeran', regKor]); + this.cast('ADD_RULE', ['korean', regKor]); // korean_number var regKorNum = /^[가-힣0-9]*$/; @@ -47,7 +47,7 @@ var Validator = xe.createApp('Validator', { var regAlphaNum = /^[a-z][a-z0-9_]*$/i; this.cast('ADD_RULE', ['alpha_number', regAlphaNum]); - // numver + // number var regNum = /^[0-9]*$/i; this.cast('ADD_RULE', ['number', regNum]); // }}} add filters @@ -277,4 +277,4 @@ function procFilter(fo_obj, filter_func) { filter_func(fo_obj); return false; -} \ No newline at end of file +}