Mercurial > defr > drupal > scald > dnd
comparison dnd.module @ 16:bb68dc3ad56f
Major refactor to provide better TinyMCE support and less configuration options, added new jquery dependency, etc.
author | David Eads <eads@chicagotech.org> |
---|---|
date | Tue, 03 Mar 2009 16:57:39 -0600 |
parents | a5b2b9fa2a1a |
children | 1a77f87927dd |
comparison
equal
deleted
inserted
replaced
15:7a5f74482ee3 | 16:bb68dc3ad56f |
---|---|
76 */ | 76 */ |
77 function dnd_process_textarea($element, $form_state) { | 77 function dnd_process_textarea($element, $form_state) { |
78 if ($element['#dnd-enabled']) { | 78 if ($element['#dnd-enabled']) { |
79 | 79 |
80 drupal_add_js(drupal_get_path('module', 'dnd') .'/js/jquery.url.packed.js', 'footer'); | 80 drupal_add_js(drupal_get_path('module', 'dnd') .'/js/jquery.url.packed.js', 'footer'); |
81 drupal_add_js(drupal_get_path('module', 'dnd') .'/js/jquery.fieldselection.js', 'footer'); | |
81 drupal_add_js(drupal_get_path('module', 'dnd') .'/js/dnd.js', 'footer'); | 82 drupal_add_js(drupal_get_path('module', 'dnd') .'/js/dnd.js', 'footer'); |
82 drupal_add_js(drupal_get_path('module', 'dnd') .'/js/dnd-library.js', 'footer'); | 83 drupal_add_js(drupal_get_path('module', 'dnd') .'/js/dnd-library.js', 'footer'); |
83 | 84 |
84 $settings = array(); | 85 $settings = array(); |
85 | 86 |