- Patch #791264 by JacobSingh: block configuration screens using tableDrag throws JS error in block.js (row undefined).
parent
4d795f3247
commit
1cadf35f03
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue