Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This patch changes very little. The function assigned to button.onfocus
is now also assigned to button.onmouseover
. A similar thing is done with button.onblur
and button.onmouseout
.
Apparently, Safari does not handle the dynamically-registered-on-focus JavaScript function in time to be executed for the same click.
Preliminary tests suggest that everything still works in Safari 1.3.1 and a recent Firefox.
Note: My brother supplied this insight. I am not a JavaScript guru.
Comment | File | Size | Author |
---|---|---|---|
upload.js.onmouse.patch.js | 571 bytes | njivy |
Comments
Comment #1
Steven CreditAttribution: Steven commentedThis doesn't seem to cause any problems on other browsers. Committed to HEAD.
Comment #2
(not verified) CreditAttribution: commented