Hello everybody,

I have a little problem with Scriptaculous Sortables Callbacks. I have
three Sortable containers with dynamic li's.
The callback doesnt seem to fire when i sort the li's within one
container, but when i drag one li from one container to another it
does work.

I've pasted a copy of my container structure below.

Anybody got an idea?

Greetings,

Jelle


<ul id="t1_wpanel1" class="widgets" style="position: relative;">
  <li id="w4" class="widget" style="position: relative;>
    <div id="w4_content">
    </div>
  </li>
  <li id="w5" class="widget" style="position: relative;">
    <div id="w5_content">
    </div>
  </li>
</ul>

<ul id="t1_wpanel3" class="widgets" style="position: relative;">
  <li id="w6" class="widget" style="position: relative;>
    <div id="w6_content">
    </div>
  </li>
  <li id="w7" class="widget" style="position: relative;">
    <div id="w7_content">
    </div>
  </li>
</ul>

<ul id="t1_wpanel3" class="widgets" style="position: relative;">
  <li id="w8" class="widget" style="position: relative;>
    <div id="w8_content">
    </div>
  </li>
  <li id="w9" class="widget" style="position: relative;">
    <div id="w9_content">
    </div>
  </li>
</ul>

   Sortable.create("t1_wpanel1",
     {onUpdate:updateWidget,
dropOnEmpty:true, containment:
["t1_wpanel1","t1_wpanel2","t1_wpanel3"],constraint:false});
   Sortable.create("t1_wpanel2",
     {onUpdate:updateWidget, dropOnEmpty:true,containment:
["t1_wpanel1","t1_wpanel2","t1_wpanel3"],constraint:false});
   Sortable.create("t1_wpanel3",
     {onUpdate:updateWidget, dropOnEmpty:true,containment:
["t1_wpanel1","t1_wpanel2","t1_wpanel3"],constraint:false});
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to