comparison js/dnd-library.js @ 27:9a92410be362

Fixed json decoding, which I will now proceed to throw out.
author David Eads <eads@chicagotech.org>
date Fri, 13 Mar 2009 19:34:05 -0500
parents e71df38143d1
children 7d6bf2dca269
comparison
equal deleted inserted replaced
26:45c6c48c2a88 27:9a92410be362
203 var representation_id = id_selector.call(this, drop); 203 var representation_id = id_selector.call(this, drop);
204 var representation = Drupal.settings.dndEditorRepresentations[representation_id].body; 204 var representation = Drupal.settings.dndEditorRepresentations[representation_id].body;
205 var target = this, $target = $(target), $drop = $(drop), block; 205 var target = this, $target = $(target), $drop = $(drop), block;
206 206
207 // Update element count 207 // Update element count
208 Drupal.behaviors.dndLibrary.countElements.call(target, representation_id); 208 //Drupal.behaviors.dndLibrary.countElements.call(target, representation_id);
209 209
210 // Search through block level parents 210 // Search through block level parents
211 $drop.parents().each(function() { 211 $drop.parents().each(function() {
212 var $this = $(this); 212 var $this = $(this);
213 if ($this.css('display') == 'block') { 213 if ($this.css('display') == 'block') {