Bugs item #782661, was opened at 2003-08-04 03:14
Message generated for change (Comment added) made by mbowler
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=782661&group_id=47038
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Andreas Hangler (ahangler)
>Assigned to: Mike Bowler (mbowler)
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
----------------------------------------------------------------------
>Comment By: Mike Bowler (mbowler)
Date: 2003-09-03 08:51
Message:
Logged In: YES
user_id=46756
Patch submitted - thanks.
In future, please don't put "patch" comments - this just
makes extra work for the committer. Just change the code to
what it should be and submit the diff.
Also ensure that you give yourself credit in the @author
tags of any file you change. I've added them for you this time.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=782661&group_id=47038
|