changeset 37:bb510db429c9

Re-attach behaviors on library reload.
author Franck Deroche <franck@defr.org>
date Fri, 18 Sep 2009 15:14:00 +0200
parents 7ed2ac0cec27
children 9e27e0aca323
files js/dnd-library.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/js/dnd-library.js	Fri Sep 18 15:12:46 2009 +0200
+++ b/js/dnd-library.js	Fri Sep 18 15:14:00 2009 +0200
@@ -145,6 +145,7 @@
     });
     return false;
   });
+  Drupal.attachBehaviors($this);
 }
 
 // Dynamically compose a callback based on the editor name