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.
Filefield upload button seems to work with right click of the mouse when it should not. I read on http://drupal.org/node/907676#comment-3431060 where quicksketch mentions that AHAH property does not work with click event.
I believe this bug is related to having the event on mousedown instead of click. Is there a solution or workaround for this?
Thanks
neokrish
Comments
Comment #1
quicksketchIf there were a work-around or solution, it would be added to Drupal core instead of FileField, since all AJAX buttons have this problem in Drupal 6, not just FileField. I doubt it will be fixed as the AJAX system was reworked in Drupal 7, which doesn't have this problem.
Comment #2
neokrish CreditAttribution: neokrish commentedThanks quicksketch for your quick reply. So is this a "won't fix" that doesn't have any solution for Drupal 6?
Also in your comment http://drupal.org/node/907676#comment-3431060, you have mentioned that there was a long discussion of how AHAH didn't work with click event. If you have that thread bookmarked, can you share it? I could find one after a significant google search. It should be helpful for me and as well others to understand why AHAH has problems in D6.
Comment #3
quicksketchHmm, I swear I saw this was changed, but #634616: Various problems due to AJAX binding to mousedown instead of click has me thinking it's not. Looks like the issue is still in-progress.
Comment #4
neokrish CreditAttribution: neokrish commentedThanks for the link.
Comment #5
quicksketchWell for D6, I think we're stuck with this issue.