diff js/dnd.js @ 17:1a77f87927dd

Fixed :empty custom selector behavior in IE, a little refactoring, etc.
author David Eads <eads@chicagotech.org>
date Wed, 04 Mar 2009 13:29:31 -0600
parents bb68dc3ad56f
children
line wrap: on
line diff
--- a/js/dnd.js	Tue Mar 03 16:57:39 2009 -0600
+++ b/js/dnd.js	Wed Mar 04 13:29:31 2009 -0600
@@ -135,7 +135,6 @@
             // Indicate this element is draggy
             $element.css('cursor', 'move');
 
-
             // Watch the iframe for changes
             var t = setInterval(function() {              
               $('img:not(.dnd-dropped)', $(target).contents()).each(function() {
@@ -159,6 +158,7 @@
             $(document).data('dnd_timers', data);
 
           } else if ($target.is('textarea')) {
+            $element.css('cursor', 'pointer');
             $(element).click(function(e, data) {
               opt.processTextAreaDrop(target, element, representation_id, e, data);
             });