summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-10-29 09:25:11 (GMT)
committerAlex Pott2014-10-29 09:25:11 (GMT)
commit862d51f9d4c18428454acaadcd6c866a9b51a513 (patch)
tree4e5f634138d66b9c2356f0c7415aeef9b3605e57
parentc55ac96895bd76bacaffb108c9f10b12d23a84e7 (diff)
Issue #197641 followup by herom, good_man, yhager: Fixed Drag and drop is not RTL aware.
-rw-r--r--core/misc/tabledrag.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/misc/tabledrag.js b/core/misc/tabledrag.js
index 204a325..de0bc5d 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);