Permalink
Browse files

update #248

  • Loading branch information...
yiminghe committed Nov 5, 2012
1 parent 63a3319 commit dab61f87264333ed23897ab6268c95cc80593378
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit dab61f8

Please sign in to comment.