Am dropping from one sortable list to another. The onscreen display
looks correct (the drop is reflected, but the text does not seem to
transfer -- Sortable.serialize returns something like
firstlist[]=
rather than
firstlist[]=ORDOGVTP
(If I drop two elements, serialize returns something like
firstlist[]=&firstlist[]=
Before I drag anything, my lists (in source view), look like:
<div style="float:left;">
<strong>Displayed columns</strong>
<ul class="sortabledemo" id="firstlist" name="firstlist"
style="width:100%;">
</ul>
</div>
<div style="float:left;">
<strong><br>Available columns</strong>
<ul class="sortabledemo" id="secondlist" name="firstlist"
style="width:100%;">
<li class='green' id='available_' name='available_'>OGVORDNBR</li>
<li class='green' id='available_' name='available_'>OGVORDSTS</li>
<li class='green' id='available_' name='available_'>OGVORDCST</li>
<li class='green' id='available_' name='available_'>OGVTRPMOD</li>
<li class='green' id='available_' name='available_'>OGVSELHUB</li>
</ul>
</div>
And the aculo stuff looks like
<script type="text/javascript" language="JavaScript">
// <![CDATA[
Sortable.create("firstlist",
{dropOnEmpty:true,containment:["firstlist","secondlist"],constraint:false});
Sortable.create("secondlist",
{dropOnEmpty:true,handle:'handle',containment:["secondlist","firstlist"
],constraint:false});
// ]]>
</script>
Any ideas why I'm not getting the list text in the Serialize call?
Ed Schechter
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---