From: SourceForge.net <no...@so...> - 2003-08-04 07:14:20
|
Bugs item #782661, was opened at 2003-08-04 09:14 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=782661&group_id=47038 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andreas Hangler (ahangler) Assigned to: Nobody/Anonymous (nobody) Summary: onload: fixing buggy bug fix 713646 Initial Comment: Bug fix 713646 intended to allow for function expressions without parentheses in the "onload" attribute, but adding parentheses does not always yield the desired result, e.g. when applying to an assignment like in <body onload='foo=4711'> My patch checks for the returned JavaScript result and if this constitutes a function it performs an additional JavaScript function call (without arguments) - just as if parentheses were given. The patch consists of corrected HtmlPage.java and an extended HtmlPageTest.java. Regards Andreas ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=782661&group_id=47038 |