0001-manager-ignore-row-clicks-when-an-input-was-clicked-.patch
src/authentic2/manager/static/authentic2/manager/js/manager.js | ||
---|---|---|
174 | 174 |
$(document).on('click.manager', 'table tr[data-url][rel=popup]', displayPopup); |
175 | 175 |
$(document).on('mouseup.manager', 'table tr[data-url]:not([rel=popup])', function (e) { |
176 | 176 |
var $target = $(e.target); |
177 |
if ($target.is('a') || $target.parents('a').length) return false; |
|
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 | 180 |
} else { |
181 |
- |