Fix range selection in IE

Cancel selectstart event on all selectable rows in the action table.

fixes #8768
This commit is contained in:
Matthias Jentsch 2015-07-28 17:54:08 +02:00
parent 40d31d02bd
commit 1de1f119d6
1 changed files with 4 additions and 1 deletions

View File

@ -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: