Mercurial > defr > drupal > scald > dnd
comparison dnd.module @ 12:a5b2b9fa2a1a
Cross browser compatibility changes -- winnowing the scope of possible configurations.
author | David Eads <eads@chicagotech.org> |
---|---|
date | Fri, 27 Feb 2009 11:50:59 -0600 |
parents | e6378dbabe45 |
children | bb68dc3ad56f |
comparison
equal
deleted
inserted
replaced
11:99ba5941779c | 12:a5b2b9fa2a1a |
---|---|
75 * callback should be smart about attachment and detachment | 75 * callback should be smart about attachment and detachment |
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/dnd.js', 'footer'); | 81 drupal_add_js(drupal_get_path('module', 'dnd') .'/js/dnd.js', 'footer'); |
81 drupal_add_js(drupal_get_path('module', 'dnd') .'/js/dnd-library.js', 'footer'); | 82 drupal_add_js(drupal_get_path('module', 'dnd') .'/js/dnd-library.js', 'footer'); |
82 | 83 |
83 $settings = array(); | 84 $settings = array(); |
84 | 85 |