Mercurial > defr > drupal > scald > dnd
diff dnd.module @ 33:6947c6579d40
Switch the library to prefixing instead of suffixing.
author | Franck Deroche <franck@defr.org> |
---|---|
date | Thu, 04 Jun 2009 13:00:27 +0200 |
parents | 767ebf925654 |
children | a9dc86da7be8 |
line wrap: on
line diff
--- a/dnd.module Wed Jun 03 14:41:31 2009 +0200 +++ b/dnd.module Thu Jun 04 13:00:27 2009 +0200 @@ -110,7 +110,7 @@ ), 'setting'); // Generate - $element['#suffix'] = '<div class="dnd-library-wrapper" id="'. $settings['library_id'] .'"></div>'. $element['#suffix']; + $element['#prefix'] .= '<div class="dnd-library-wrapper" id="'. $settings['library_id'] .'"></div>'; } return $element;