Menu

#75 JS error on article submit

open
nobody
add article (9)
5
2002-12-04
2002-12-04
John Hall
No

NOTE: User just reported this error -- but it may not be new.
Most users have detailed scripting error reporting turned
off. But with debugging on, this error appears in Mozilla
and IE.

Submitting article add/form generates JS
error in ../admin/itemedit.php3. Mozilla's reponse is
more useful than iE's

Error: val has no
properties
Source File:
http://tools.bcweb.net/aa/admin/itemedit.php3?AA_CP_Session=532265a870b5bd02f745df5c81b4b0ac&encap=false&edit=1&id=d1ef0a5ab1c7d3eb0e2668905377cbf0
Line:
89

Problem appears to trace to these lines in
../include/formutil.php3:

case 'number':
if
(!val.match (/^[0-9]+$/))
err = '"._m("Not a valid integer
number.")."';
break;

Discussion


Log in to post a comment.

MongoDB Logo MongoDB