Browse files

Workaround for IE bug.

  • Loading branch information...
1 parent a444c8d commit 13e138de61cd58c2ab5296832cd4a34ef38f4099 @wailqill committed Sep 21, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wq.form.validation.js
View
2 src/wq.form.validation.js
@@ -19,7 +19,7 @@
},
validate: function(e) {
var result = this.fields.invoke("validate").all();
- if (!result && e instanceof Event) e.stop();
+ if (!result && e && e.stop) e.stop();
return result;
}
});

0 comments on commit 13e138d

Please sign in to comment.