Changeset 8488


Ignore:
Timestamp:
May 23, 2009, 2:56:55 AM (12 years ago)
Author:
kjg
Message:

(trunk web) prevent menu event bubble up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/transmission.js

    r8487 r8488  
    263263                        selected_char: '✔',
    264264                        direction: 'up',
    265                         onClick: function(e){ tr.processSettingsMenuEvent(e); }
     265                        onClick: function(e){ return tr.processSettingsMenuEvent(e); }
    266266                });
    267267               
     
    843843                                break;
    844844                }
     845                $('#settings_menu').trigger('closemenu');
     846                return false; // to prevent the event from bubbling up
    845847        },
    846848
Note: See TracChangeset for help on using the changeset viewer.