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
1 changed files with 5 additions and 3 deletions

View File

@ -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