diff --git a/common/js/unittest/unittest_validator.html b/common/js/unittest/unittest_validator.html
index 5d599b564..e2f2b9d69 100644
--- a/common/js/unittest/unittest_validator.html
+++ b/common/js/unittest/unittest_validator.html
@@ -57,17 +57,17 @@ describe('Validator', {
value_of(validate()).should_be_true();
},
'validate with length' : function() {
- v.cast('ADD_FILTER', ['minlen', {
- 'text' : {required:true, minlen:5}
+ v.cast('ADD_FILTER', ['minlength', {
+ 'text' : {required:true, minlength:5}
}]);
- v.cast('ADD_FILTER', ['maxlen', {
- 'text' : {required:true, maxlen:10}
+ v.cast('ADD_FILTER', ['maxlength', {
+ 'text' : {required:true, maxlength:10}
}]);
- v.cast('ADD_FILTER', ['minmaxlen', {
- 'text' : {required:true, minlen:5, maxlen:10}
+ v.cast('ADD_FILTER', ['minmaxlength', {
+ 'text' : {required:true, minlength:5, maxlength:10}
}]);
- set_filter('minlen');
+ set_filter('minlength');
set_value('1');
value_of(validate()).should_be_false();
@@ -75,7 +75,7 @@ describe('Validator', {
set_value('12345');
value_of(validate()).should_be_true();
- set_filter('maxlen');
+ set_filter('maxlength');
set_value('12345678901');
value_of(validate()).should_be_false();
@@ -83,7 +83,7 @@ describe('Validator', {
set_value('1');
value_of(validate()).should_be_true();
- set_filter('minmaxlen');
+ set_filter('minmaxlength');
set_value('1');
value_of(validate()).should_be_false();
diff --git a/common/js/xml_js_filter.js b/common/js/xml_js_filter.js
index 301e4bae9..6113346ef 100644
--- a/common/js/xml_js_filter.js
+++ b/common/js/xml_js_filter.js
@@ -98,8 +98,8 @@ var Validator = xe.createApp('Validator', {
if (!_el) return true;
var el = $(_el), val = $.trim(get_value(el));
- var minlen = parseInt(this.minlen) || 0;
- var maxlen = parseInt(this.maxlen) || 0;
+ var minlen = parseInt(this.minlength) || 0;
+ var maxlen = parseInt(this.maxlength) || 0;
var rule = (this.rule || '').split(',');
if (this.required && !val) return (result = (!!self.cast('ALERT', [form, name, 'isnull']) && false));
diff --git a/config/config.inc.php b/config/config.inc.php
index 147edbe2d..9a2abeeb8 100644
--- a/config/config.inc.php
+++ b/config/config.inc.php
@@ -13,7 +13,7 @@
* @brief XE의 전체 버전 표기
* 이 파일의 수정이 없더라도 공식 릴리즈시에 수정되어 함께 배포되어야 함
**/
- define('__ZBXE_VERSION__', '1.4.0.8');
+ define('__ZBXE_VERSION__', '1.4.0.9');
/**
* @brief zbXE가 설치된 장소의 base path를 구함
diff --git a/modules/comment/queries/getCommentPageList.xml b/modules/comment/queries/getCommentPageList.xml
index fd0f099fa..5a43a9320 100644
--- a/modules/comment/queries/getCommentPageList.xml
+++ b/modules/comment/queries/getCommentPageList.xml
@@ -14,7 +14,8 @@
-
+
+