[Bps-public-commit] r12685 - pie/branches/named-params/pieplate/PIE-Plate/share/web/static/js

jesse at bestpractical.com jesse at bestpractical.com
Mon May 26 02:30:05 EDT 2008


Author: jesse
Date: Mon May 26 02:30:04 2008
New Revision: 12685

Modified:
   pie/branches/named-params/pieplate/PIE-Plate/share/web/static/js/pieui.js

Log:
* leaves around a bunch of extra divs, but doesn't explode

Modified: pie/branches/named-params/pieplate/PIE-Plate/share/web/static/js/pieui.js
==============================================================================
--- pie/branches/named-params/pieplate/PIE-Plate/share/web/static/js/pieui.js	(original)
+++ pie/branches/named-params/pieplate/PIE-Plate/share/web/static/js/pieui.js	Mon May 26 02:30:04 2008
@@ -1,5 +1,5 @@
 
-     var lorzy_draggable_opts = { snap: true, revert: true, activeClass: 'draggable-active', opacity: '0.80'};
+     var lorzy_draggable_opts = { revert: true, activeClass: 'draggable-active', opacity: '0.80'};
 var droppable_args = {
             accept: '.lorzy-expression',
             greedy: 'true',
@@ -15,7 +15,7 @@
                     newitem.draggable(lorzy_draggable_opts);
                     newitem.droppable(lorzy_draggable_opts);
                     newitem.attr({style: 'display: block'});
-                    jQuery(this).replaceWith(newitem);
+                    newitem.insertAfter(this);
                    lorzy_wrap_in_drop_targets(newitem);
 }};
 function lorzy_make_empty_drop_target (){



More information about the Bps-public-commit mailing list