From: Benoît Pin Date: Mon, 26 May 2014 13:23:40 +0000 (+0200) Subject: Bugfix ie11 qui créé un bug dans Plinn… Quelle chienlit IE… X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/commitdiff_plain/4a539b94ae4bf5dc9a1ff8c443b1e709ca45c0c9 Bugfix ie11 qui créé un bug dans Plinn… Quelle chienlit IE… --- diff --git a/skins/ajax_scripts/folder_contents_script.js b/skins/ajax_scripts/folder_contents_script.js index 45ec76a..6480f9d 100644 --- a/skins/ajax_scripts/folder_contents_script.js +++ b/skins/ajax_scripts/folder_contents_script.js @@ -37,7 +37,7 @@ FolderDDropControler = function(listing, orderable, firstItemPos) { } addListener(this.listing, 'click', function(evt) {thisControler.selectCBRange(evt);}); - if (browser.isIE) { + if (browser.isIE10max) { this.listing.ondragstart = function() { window.event.returnValue = false;}; } }; @@ -70,7 +70,7 @@ FolderDDropControler.prototype.moveRow = function(evt){ var targetRow = this.targetRow; if (targetRow !== null) { this.noOver = false; - if (browser.isIE) {document.selection.clear();} + if (browser.isIE10max) {document.selection.clear();} var overRow = getTargetRow(evt); if (overRow.pos === targetRow.pos) {return;} @@ -234,7 +234,7 @@ DropTarget.prototype.drop = function(evt) { }; DropTarget.prototype.highlightTarget = function(evt){ - if (browser.isIE) {document.selection.clear();} + if (browser.isIE10max) {document.selection.clear();} var target = getTargetedObject(evt); if (this.folderDDControler.targetRow && target.nodeName === "A" &&