changeset 19:d83073a08b25

Added beautytips, and advanced library behavior to the library prototype.
author David Eads <eads@chicagotech.org>
date Fri, 06 Mar 2009 14:26:06 -0600
parents 0d557e6e73f7
children 89fe0aca43d4
files dnd.module js/bt/.DS_Store js/bt/.jquery.bt.js.swp js/bt/CHANGELOG.txt js/bt/DEMO/.DS_Store js/bt/DEMO/demofiles/beautytips.png js/bt/DEMO/demofiles/close.gif js/bt/DEMO/demofiles/demo-ajax.html js/bt/DEMO/demofiles/demo-ie-fix.css js/bt/DEMO/demofiles/demo.css js/bt/DEMO/demofiles/demo.js js/bt/DEMO/demofiles/gmap-pin.png js/bt/DEMO/demofiles/logo.html js/bt/DEMO/demofiles/logo.png js/bt/DEMO/demofiles/logo.psd js/bt/DEMO/demofiles/lullabot.png js/bt/DEMO/demofiles/netflix.html js/bt/DEMO/index.html js/bt/jquery.bt.css js/bt/jquery.bt.js js/bt/jquery.bt.min.js js/bt/other_libs/bgiframe_2.1.1/ChangeLog.txt js/bt/other_libs/bgiframe_2.1.1/META.json js/bt/other_libs/bgiframe_2.1.1/docs/index.html js/bt/other_libs/bgiframe_2.1.1/jquery.bgiframe.js js/bt/other_libs/bgiframe_2.1.1/jquery.bgiframe.min.js js/bt/other_libs/bgiframe_2.1.1/jquery.bgiframe.pack.js js/bt/other_libs/bgiframe_2.1.1/test/index.html js/bt/other_libs/jquery-1.2.6.js js/bt/other_libs/jquery-1.2.6.min.js js/bt/other_libs/jquery-1.3.min.js js/bt/other_libs/jquery.easing.1.3.js js/bt/other_libs/jquery.hoverIntent.minified.js js/dnd-library.js js/jquery.draganddrop.js js/jquery.fieldselection.js js/jquery.url.packed.js
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dnd.module	Fri Mar 06 14:11:46 2009 -0600
+++ b/dnd.module	Fri Mar 06 14:26:06 2009 -0600
@@ -76,7 +76,7 @@
  */
 function dnd_process_textarea($element, $form_state) {
   if ($element['#dnd-enabled']) {
-    drupal_add_js(drupal_get_path('module', 'dnd') .'/js/bt/other_libs/excanvas-compressed.js');
+    drupal_add_js(drupal_get_path('module', 'dnd') .'/js/bt/other_libs/excanvas_0002/excanvas-compressed.js');
     drupal_add_js(drupal_get_path('module', 'dnd') .'/js/jquery.url.packed.js');
     drupal_add_js(drupal_get_path('module', 'dnd') .'/js/jquery.fieldselection.js');
     drupal_add_js(drupal_get_path('module', 'dnd') .'/js/bt/jquery.bt.js');
--- a/js/dnd-library.js	Fri Mar 06 14:11:46 2009 -0600
+++ b/js/dnd-library.js	Fri Mar 06 14:26:06 2009 -0600
@@ -66,10 +66,7 @@
       $.getJSON(this.href, function(data) {
         Drupal.behaviors.dndLibrary.refreshLibrary.call($this.get(0), data, $editor);
       });
-
-      // Reattach behaviors
       Drupal.behaviors.dndLibrary(); 
-      
       return false;
     });
 
@@ -108,6 +105,9 @@
   for (preview_id in data.library_previews) {
     Drupal.settings.dndLibraryPreviews[preview_id] = data.library_previews[preview_id];
   }
+
+  // Reattach behaviors
+  Drupal.behaviors.dndLibrary(); 
 }