Project

General

Profile

Patch #13645 » context_menu.js.patch

Martin Dubé, 2013-03-29 20:57

View differences:

context_menu.js (working copy)
4 4
function contextMenuRightClick(event) {
5 5
  var target = $(event.target);
6 6
  if (target.is('a')) {return;}
7
  if (target.is('img') && target.parents('a').first().is('a')) {return;}
7 8
  var tr = target.parents('tr').first();
8 9
  if (!tr.hasClass('hascontextmenu')) {return;}
9 10
  event.preventDefault();
    (1-1/1)