Committed By: mischa
Date: Fri Oct 21 07:59:06 UTC 2005
Brad -= 4 (one point per hour I spent tracking down this bug)
So I was wondering, "gosh, why could it be that internet explorer is acting
as if my onclick handlers are returning true no matter what they actually return?
It turns out commentmanage.js registers an onclick handler for document which
always returns true. This is not only unnecessary, but very detrimental to
any sort of sane event handling on a page. Simply removing "return true" from
the handler seems to fix everything, and as far as I can tell everything behaves
as it should still in IE, Firefox and Safari. If anyone is a JS event genius
please inform me if there is a better solution to hiding popups, or if not
returning anything could have undesired behavior.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 livejournal/htdocs/js/commentmanage.js