Mercurial > defr > drupal > scald > mee
comparison mee.module @ 12:da5d54d099b1
Fix the drag'n'drop, add a caption to the ressource manager.
tableDrag makeDraggable method expect a standard DOM object, not the jQuery
wrapper.
| author | Franck Deroche <franck@defr.org> |
|---|---|
| date | Fri, 05 Jun 2009 09:56:08 +0200 |
| parents | 272628486e75 |
| children | 842d89897cb4 |
comparison
equal
deleted
inserted
replaced
| 11:272628486e75 | 12:da5d54d099b1 |
|---|---|
| 445 $rows[] = array('data' => $row, 'class' => 'draggable'); | 445 $rows[] = array('data' => $row, 'class' => 'draggable'); |
| 446 } | 446 } |
| 447 $output = theme('table', $header, $rows, array( | 447 $output = theme('table', $header, $rows, array( |
| 448 'id' => $id, | 448 'id' => $id, |
| 449 'class' => 'mee-ressource-manager' | 449 'class' => 'mee-ressource-manager' |
| 450 )); | 450 ), |
| 451 t('Ressource Manager') | |
| 452 ); | |
| 451 $output .= drupal_render($form); | 453 $output .= drupal_render($form); |
| 452 return $output; | 454 return $output; |
| 453 } | 455 } |
| 454 | 456 |
| 455 | 457 |
