123456789101112131415161718192021222324 |
- Before you overwrite jquery.contextMenu.js, note that we have changed a few lines
- in this file.
- denise@denise-DX4860:~/airtime/airtime_mvc/public/js/contextmenu$ diff -u jquery.contextMenu_orig.js jquery.contextMenu.js
- --- jquery.contextMenu_orig.js 2012-04-20 10:15:59.943215571 -0400
- +++ jquery.contextMenu.js 2012-04-20 10:00:18.911178927 -0400
- @@ -306,6 +306,15 @@
- e.stopImmediatePropagation();
- $this.remove();
- root.$menu.trigger('contextmenu:hide');
- + /* (Airtime) added this to allow user to exit out of menu.
- + * if ignoreThisClick remains false, every right click
- + * thereafter continues to show the menu
- + */
- + if (ignoreRightClick) {
- + if (e.button == 2) {
- + ignoreThisClick = true;
- + }
- + }
- },
- // key handled :hover
- keyStop: function(e, opt) {
|