VALIDATE 메시지가 중단되면 폼 전송을 하지 않도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7243 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2010-01-26 04:35:39 +00:00
parent e915d3fe1d
commit 81d1ded1cf

View file

@ -59,7 +59,11 @@ var Validator = xe.createApp('Validator', {
if (oForm._filter) filter = oForm._filter.value;
return this.cast('VALIDATE', [oForm, filter]);
var params = [oForm, filter];
var result = this.cast('VALIDATE', params);
if (typeof result == 'undefined') result = false;
return result;
},
API_ONREADY : function() {
var self = this;