[#4766] - Unable able to drag reports to dashboard with IE11

Category:
Patch
Priority:
Immediate
Status:
New
Project: Severity:
Critical
Resolution:
Fixed
Component: Reproducibility:
Always
Assigned to:

It's not possible to drag & drop reports on to a Dashboard using IE11.
The cause is changes to supported JavaScript methods in IE11.

Resolution is to check for IE11 and use the new method.
Filename: dashboard.designer.js
Row: 280

if(isIE11()){
//$(object).onselectstart = function(){return false;}
$(object).addEventListener('onselectstart', function (e) {
var tagName = e.srcElement.tagName;
if (tagName != "INPUT" && tagName != "TEXTAREA") { e.returnValue = false; }
});
} else if(isIE()){
//$(object).onselectstart = function(){return false;}
$(object).attachEvent('onselectstart', function (e) {
var tagName = e.srcElement.tagName;
if (tagName != "INPUT" && tagName != "TEXTAREA") { e.returnValue = false; }
});

v5.6.1
hozawa's picture
190289
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 3 months ago

2 Comments:

#1

Instead of isIE11(), it may be better to use getIEVersion() >= 11

#2

Your new post should be appreciated in my point of view .. You are doing really good work. Thanks a lot for sharing this type of awesome... Buy our gymnastic mats from http://gymnasticmatsuk.co.uk/

Feedback