Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update #248

  • Loading branch information...
commit dab61f87264333ed23897ab6268c95cc80593378 1 parent 63a3319
@yiminghe yiminghe authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/validation/src/field.js
View
2  src/validation/src/field.js
@@ -300,7 +300,7 @@ KISSY.add("validation/field", function(S, DOM, Event, Util, Define, Rule, Remote
var self = this, result = self._validateValue();
self.showMessage(result[1], result[0]);
//return result[1] != 0; //这么写存在一个bug,只有ok/ignore才能返回true
- if(result[1]===1 || result[1]===3){
+ if(result[1]==true || result[1]===1 || result[1]===3){
return true;
}else{
return false;
Please sign in to comment.
Something went wrong with that request. Please try again.