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 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) {
|
||||
// IE will not ignore user-select unless we cancel selectstart
|
||||
$(el).on('selectstart', false);
|
||||
|
||||
var $a = $('a[href].rowaction', el).first();
|
||||
if ($a.length) {
|
||||
// TODO: Find out whether we leak memory on IE with this:
|
||||
|
|
Loading…
Reference in New Issue