From b148223dc0e1d6a9089f0936f3881321d11e4944 Mon Sep 17 00:00:00 2001 From: Dries Date: Sat, 14 Jul 2012 21:43:41 -0400 Subject: [PATCH] - Patch #1684866 by droplet, nod_: JSHint shortcut. --- core/modules/shortcut/shortcut.admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/shortcut/shortcut.admin.js b/core/modules/shortcut/shortcut.admin.js index dacae3e8f4b..dd77ce64cd9 100644 --- a/core/modules/shortcut/shortcut.admin.js +++ b/core/modules/shortcut/shortcut.admin.js @@ -52,7 +52,7 @@ Drupal.behaviors.shortcutDrag = { // the tableDrag system. However, the row that swapped with it // has moved to the "disabled" section, so we need to force its // status to be disabled and mark it also as changed. - var changedRowObject = new tableDrag.row(changedRow, 'mouse', self.indentEnabled, self.maxDepth, true); + var changedRowObject = new tableDrag.row(changedRow, 'mouse', this.indentEnabled, this.maxDepth, true); changedRowObject.markChanged(); tableDrag.rowStatusChange(changedRowObject); }