0001-manager-don-t-follow-row-URL-on-right-click-45839.patch
src/authentic2/manager/static/authentic2/manager/js/manager.js | ||
---|---|---|
177 | 177 |
if ($target.is('input') || $target.is('a') || $target.parents('a').length) return false; |
178 | 178 |
if (e.which == 2 || e.ctrlKey) { |
179 | 179 |
window.open($(this).data('url'), '_blank'); |
180 |
} else if (e.which == 3) { |
|
181 |
// right click, nothing |
|
180 | 182 |
} else { |
181 | 183 |
window.location.href = $(this).data('url'); |
182 | 184 |
} |
183 |
- |