Mercurial > defr > drupal > scald > dnd
changeset 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 | ee520ba7d98b |
children | a9dc86da7be8 |
files | dnd.module |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;