diff --git a/core/modules/utils/dom/browser.js b/core/modules/utils/dom/browser.js index b01b95d27..c45051b85 100644 --- a/core/modules/utils/dom/browser.js +++ b/core/modules/utils/dom/browser.js @@ -130,6 +130,7 @@ exports.convertEventName = function(eventName) { // Setup constants for the current browser exports.getBrowserInfo = function(info) { + info.isIE = (/msie|trident/i.test(navigator.userAgent)); }; })(); diff --git a/core/modules/widgets/dropzone.js b/core/modules/widgets/dropzone.js index 7c7ff4e62..d3047d643 100644 --- a/core/modules/widgets/dropzone.js +++ b/core/modules/widgets/dropzone.js @@ -102,15 +102,10 @@ DropZoneWidget.prototype.handleDropEvent = function(event) { DropZoneWidget.prototype.importData = function(dataTransfer) { // Try each provided data type in turn for(var t=0; t