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

quicksketch’s picture

If 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.

neokrish’s picture

Thanks 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.

quicksketch’s picture

Hmm, 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.

neokrish’s picture

Thanks for the link.

quicksketch’s picture

Status: Active » Closed (won't fix)

Well for D6, I think we're stuck with this issue.