Menu

#1 PHP Assert->isTrue passes invalid false value to JS

open
nobody
None
5
2004-11-24
2004-11-24
JC Hearn
No

When using $Assert->isTrue and the checked parameter
is false, the resulting javascript Assert.isTrue does not
have a valid first argument. (It has no characters.)
This throws a JS error.

For example:

$Assert->isTrue( false, "comment" );

produces:

Assert.isTrue(,"comment");

This throws a JS error.

Any help would be appreciated. Send response to
jchearn@medicalnetsystems.com.

Thanks.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.