mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 08:09:58 +09:00
merge from 1.5.2
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10446 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6c23751ef8
commit
c727926d9e
382 changed files with 6855 additions and 3603 deletions
|
|
@ -1764,11 +1764,15 @@ var Validator = xe.createApp('Validator', {
|
|||
this.onsubmit = null;
|
||||
}
|
||||
})
|
||||
.submit(function(){
|
||||
.submit(function(e){
|
||||
var legacyFn = this['xe:onsubmit'];
|
||||
var hasLegacyFn = $.isFunction(legacyFn);
|
||||
var bResult = hasLegacyFn?legacyFn.apply(this):self.run(this);
|
||||
|
||||
if(!bResult)
|
||||
{
|
||||
e.stopImmediatePropagation();
|
||||
}
|
||||
return bResult;
|
||||
});
|
||||
},
|
||||
|
|
@ -1826,9 +1830,14 @@ var Validator = xe.createApp('Validator', {
|
|||
|
||||
f = filter[name];
|
||||
el = elems[name];
|
||||
if(!el)
|
||||
{
|
||||
el = elems[name + '[]'];
|
||||
}
|
||||
val = el?$.trim(get_value($(el))):'';
|
||||
mod = (f.modifier||'')+',';
|
||||
|
||||
|
||||
if(!el || el.disabled) continue;
|
||||
|
||||
if(f['if']) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue