Mercurial > defr > drupal > scald > dnd
comparison dnd.module @ 49:af6627970bc4
DnD: Don't redefine properties that belongs to system.module
author | Franck Deroche <defr@ows.fr> |
---|---|
date | Tue, 18 May 2010 15:29:29 +0000 |
parents | a9dc86da7be8 |
children | a54d04d76554 |
comparison
equal
deleted
inserted
replaced
48:f817d2a5cc0a | 49:af6627970bc4 |
---|---|
41 * Overload textareas. | 41 * Overload textareas. |
42 */ | 42 */ |
43 function dnd_elements() { | 43 function dnd_elements() { |
44 $type = array(); | 44 $type = array(); |
45 $type['textarea'] = array( | 45 $type['textarea'] = array( |
46 '#input' => TRUE, | |
47 '#cols' => 60, | |
48 '#rows' => 5, | |
49 '#resizable' => TRUE, | |
50 '#dnd-enabled' => FALSE, | 46 '#dnd-enabled' => FALSE, |
51 '#dnd-settings' => NULL, | 47 '#dnd-settings' => NULL, |
52 '#process' => array('form_expand_ahah', 'dnd_process_textarea'), | 48 '#process' => array('form_expand_ahah', 'dnd_process_textarea'), |
53 ); | 49 ); |
54 return $type; | 50 return $type; |