diff options
-rw-r--r-- | modules/block/block.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/block/block.js b/modules/block/block.js index 4647ee4e0..be284bfc1 100644 --- a/modules/block/block.js +++ b/modules/block/block.js @@ -64,8 +64,8 @@ Drupal.behaviors.blockSettingsSummary = { */ Drupal.behaviors.blockDrag = { attach: function (context, settings) { - // tableDrag is required for this behavior. - if (typeof Drupal.tableDrag == 'undefined') { + // tableDrag is required and we should be on the blocks admin page. + if (typeof Drupal.tableDrag == 'undefined' || typeof Drupal.tableDrag.blocks == 'undefined') { return; } |