From 862d51f9d4c18428454acaadcd6c866a9b51a513 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Wed, 29 Oct 2014 09:25:11 +0000 Subject: [PATCH] Issue #197641 followup by herom, good_man, yhager: Fixed Drag and drop is not RTL aware. --- core/misc/tabledrag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/misc/tabledrag.js b/core/misc/tabledrag.js index 204a325252ef..de0bc5d2f53e 100644 --- a/core/misc/tabledrag.js +++ b/core/misc/tabledrag.js @@ -564,7 +564,7 @@ if (self.indentEnabled) { var xDiff = self.currentPointerCoords.x - self.dragObject.indentPointerPos.x; // Set the number of indentations the pointer has been moved left or right. - var indentDiff = Math.round(xDiff / self.indentAmount * self.rtl); + var indentDiff = Math.round(xDiff / self.indentAmount); // Indent the row with our estimated diff, which may be further // restricted according to the rows around this row. var indentChange = self.rowObject.indent(indentDiff);