Fix range selection in IE
Cancel selectstart event on all selectable rows in the action table. fixes #8768
This commit is contained in:
parent
40d31d02bd
commit
1de1f119d6
|
@ -373,8 +373,11 @@
|
||||||
var container = evt.target;
|
var container = evt.target;
|
||||||
var self = evt.data.self;
|
var self = evt.data.self;
|
||||||
|
|
||||||
// initialize all rows with the correct link, to assure that
|
// initialize all rows with the correct link
|
||||||
$('table.action tr', container).each(function(idx, el) {
|
$('table.action tr', container).each(function(idx, el) {
|
||||||
|
// IE will not ignore user-select unless we cancel selectstart
|
||||||
|
$(el).on('selectstart', false);
|
||||||
|
|
||||||
var $a = $('a[href].rowaction', el).first();
|
var $a = $('a[href].rowaction', el).first();
|
||||||
if ($a.length) {
|
if ($a.length) {
|
||||||
// TODO: Find out whether we leak memory on IE with this:
|
// TODO: Find out whether we leak memory on IE with this:
|
||||||
|
|
Loading…
Reference in New Issue