Menu

#520 (ok 3.4) Use jQuery to bind click events on checkboxes

closed-accepted
1
2011-05-11
2010-04-05
No

The traditional way of binding events to html elements is to set its onxxx attributes to your piece of js code. This poses a problem since only one event handler can be bound at the same time. This is currently not an issue with phpmyadmin itself, but user scripts (greasemonkey) or browser extensions may rely on binding additional events to elements. (see http://sourceforge.net/tracker/?func=detail&aid=2717117&group_id=23067&atid=377408 )
With this patch the jQuery event management is used to bind the one event that is pointed out in the issue. It installs a list of events that allows for expansion.

Discussion

  • Philip Frank

    Philip Frank - 2010-04-05
     
  • Michal Čihař

    Michal Čihař - 2010-04-06
    • assigned_to: nobody --> nijel
     
  • Michal Čihař

    Michal Čihař - 2010-04-06
    • priority: 5 --> 1
    • summary: Use jQuery to bind click events on checkboxes --> (ok 3.4) Use jQuery to bind click events on checkboxes
    • status: open --> open-accepted
     
  • Michal Čihař

    Michal Čihař - 2010-04-06

    Your patch was merged in the repository, thanks.

     
  • Michal Čihař

    Michal Čihař - 2011-05-11
    • status: open-accepted --> closed-accepted
     
MongoDB Logo MongoDB