Signed-off-by: a. bellenir <ab@grpl.org>
// we need the the row that got right-clicked...
var e = $event.target; // the DOM element
var s = undefined; // the angular scope for that element
- while(e){ // searching for the row so we can get its index from s.$index
+ while(e){ // searching for the row
// abort & use the browser default context menu for links (lp1669856):
if(e.tagName.toLowerCase() === 'a' && e.href){ return true; }
s = angular.element(e).scope();