Révision 6ff32cea
Ajouté par Florent Torregrosa il y a environ 9 ans
drupal7/misc/tabledrag.js | ||
---|---|---|
500 | 500 |
if (self.indentEnabled) { |
501 | 501 |
var xDiff = self.currentMouseCoords.x - self.dragObject.indentMousePos.x; |
502 | 502 |
// Set the number of indentations the mouse has been moved left or right. |
503 |
var indentDiff = Math.round(xDiff / self.indentAmount * self.rtl);
|
|
503 |
var indentDiff = Math.round(xDiff / self.indentAmount); |
|
504 | 504 |
// Indent the row with our estimated diff, which may be further |
505 | 505 |
// restricted according to the rows around this row. |
506 | 506 |
var indentChange = self.rowObject.indent(indentDiff); |
Formats disponibles : Unified diff
Update core to 7.36