changeset 43:196348c8298f

Library: Switch to a purely click based popup opening. This probably should be a setting somewhere, but opening the popup on hover prevents interacting with rich player that might be there (sound/video player for example)
author Franck Deroche <franck@defr.org>
date Thu, 15 Oct 2009 11:45:41 +0200
parents eb7c103b54cb
children c2b8f7e1f4c1
files js/dnd-library.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/js/dnd-library.js	Thu Oct 15 11:43:54 2009 +0200
+++ b/js/dnd-library.js	Thu Oct 15 11:45:41 2009 +0200
@@ -110,7 +110,7 @@
   // Add preview behavior to editor items (thanks, BeautyTips!)
   $('.editor-item', $this).each(function () {
     $(this).bt(Drupal.settings.dndLibraryPreviews[this.id], settings.btSettings);
-    $(this).hoverIntent(settings.libraryHoverIntentSettings);
+    //$(this).hoverIntent(settings.libraryHoverIntentSettings);
   });
 
   // Preload images in editor representations