CC-3330: Regression in library behavior: left click anywhere in a row should bring up menu, right click anywhere in row should bring up metadata

-consider it wrapped
This commit is contained in:
denise 2012-04-20 10:03:12 -04:00
parent e242972a78
commit 9afdbe2fbc

View file

@ -306,13 +306,15 @@ var // currently active contextMenu trigger
e.stopImmediatePropagation(); e.stopImmediatePropagation();
$this.remove(); $this.remove();
root.$menu.trigger('contextmenu:hide'); root.$menu.trigger('contextmenu:hide');
/* (Airtime) added this to allow user to exit out of menu /* (Airtime) added this to allow user to exit out of menu.
* if ignoreThisClick remains false, every right click * if ignoreThisClick remains false, every right click
* thereafter continues to show the menu * thereafter continues to show the menu
*/ */
if (ignoreRightClick) {
if (e.button == 2) { if (e.button == 2) {
ignoreThisClick = true; ignoreThisClick = true;
} }
}
}, },
// key handled :hover // key handled :hover
keyStop: function(e, opt) { keyStop: function(e, opt) {