summaryrefslogtreecommitdiff
path: root/misc/tabledrag.js
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2015-03-30 21:50:31 -0400
committerDavid Rothstein <drothstein@gmail.com>2015-03-30 21:50:31 -0400
commit32efb5c811d38a8b25d30c14ef89044d04440e62 (patch)
tree7ed2e23d4955cc0f139d984a451debd09b0d4514 /misc/tabledrag.js
parent1dbe1088ba1b94ce681f45c6526c73b671a190d8 (diff)
downloadbrdo-32efb5c811d38a8b25d30c14ef89044d04440e62.tar.gz
brdo-32efb5c811d38a8b25d30c14ef89044d04440e62.tar.bz2
Issue #197641 by herom, good_man, elcuco: Drag and drop does not work correctly on RTL languages
Diffstat (limited to 'misc/tabledrag.js')
-rw-r--r--misc/tabledrag.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/tabledrag.js b/misc/tabledrag.js
index fed674ca9..3cc270194 100644
--- a/misc/tabledrag.js
+++ b/misc/tabledrag.js
@@ -500,7 +500,7 @@ Drupal.tableDrag.prototype.dragRow = function (event, self) {
if (self.indentEnabled) {
var xDiff = self.currentMouseCoords.x - self.dragObject.indentMousePos.x;
// Set the number of indentations the mouse 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);