Hi there ... just tried the new dev version because I need a "Add row" button. The problem is I cant add the columns when specifying my field.

Firebug reports an error

Drupal.tableDrag is undefined
var rowsTableDrag = Drupal.tableDrag.matrixrows; 

Comments

zewa’s picture

Status: Active » Needs review

Well lol found the solution already ...

in matrix.module Line 111 (settings hook) this line was missing

drupal_add_js('misc/tabledrag.js');

and matrix.js line 141 (Drupal.behaviors.blockDrag definition)
put following if clause

if(typeof colsTableDrag !== 'undefined') {

around the colsTableDrag.onDrop assignment

sabikhi’s picture

I tried both but didn't work for me
I wonder if its a problem with location of "misc/tabledrag.js" i created a folder called misc in matrix module folder and copient tabledrag.js from Jquery in to this, but even that didn't help

intrafusion’s picture

Status: Needs review » Closed (won't fix)

Marking as Closed (won't fix) as the new co-maintainer will be focusing on D7