Skip to content

Commit

Permalink
fix bug in IE about form.elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Bosn committed May 23, 2014
1 parent 772188d commit b92039b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebContent/stat/js/core/rap.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ if (!window.console) {
* @return {Boolean} 是/否验证通过
*/
Validate.validForm = function (form) {
var list = form.elements;
var list = form;
var r = true;
for (var i = 0, o; o = list[i]; i++)
{
Expand Down

0 comments on commit b92039b

Please sign in to comment.