일반 폼에는 js filter 후킹이 적용되지 않게 수정. (검색 버튼, 레이아웃 버튼 기타 등등 일반 서브밋 버튼 작동 안되는 오류 수정.)

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7105 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2010-01-04 06:26:20 +00:00
parent a6f4a7e961
commit 45da101814

View file

@ -73,6 +73,7 @@ var Validator = xe.createApp('Validator', {
})
.submit(function(){
var legacyFn = this['xe:onsubmit'];
if(typeof(legacyFn)=="undefined"||!legacyFn) return;
var hasLegacyFn = $.isFunction(legacyFn);
var bResult = hasLegacyFn?legacyFn.apply(this):self.run(this);