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:
parent
e242972a78
commit
9afdbe2fbc
|
@ -306,12 +306,14 @@ var // currently active contextMenu trigger
|
|||
e.stopImmediatePropagation();
|
||||
$this.remove();
|
||||
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
|
||||
* thereafter continues to show the menu
|
||||
*/
|
||||
if (e.button == 2) {
|
||||
ignoreThisClick = true;
|
||||
if (ignoreRightClick) {
|
||||
if (e.button == 2) {
|
||||
ignoreThisClick = true;
|
||||
}
|
||||
}
|
||||
},
|
||||
// key handled :hover
|
||||
|
|
Loading…
Reference in New Issue