If you compare the dragdrop.js file that comes with scriptaculous and
then the copy at http://sputnik.pl/dev/labs/sortable/js.php?dragdrop,
the latter has additional code to set onDrop.

On 6/21/06, Sammi Williams <[EMAIL PROTECTED]> wrote:
Do you mean for sortable trees?

How would this behavior work?

Maybe you could add support and send me a patch?

Sammi

On 22/06/2006, at 5:30 AM, Andrew Kaspick wrote:

> Looks like onDrop isn't fully supported in dragdrop.js
>
> The svn repo is missing onDrop functions that can found in your
> version of the script from
> http://sputnik.pl/dev/labs/sortable/js.php?dragdrop
>
> Any particular reason for this?
>
> Andrew
>
> On 6/21/06, Andrew Kaspick <[EMAIL PROTECTED]> wrote:
>> Great.  Thanks for the fix.
>>
>> On 6/21/06, Sammi Williams <[EMAIL PROTECTED]> wrote:
>> > Hi, you need to read the wiki, this is a known bug and a mistake
>> > Thomas F made when implementing my patch.
>> >
>> > http://wiki.oriontransfer.co.nz/main/show/SortableTree
>> >
>> > The latest version in SVN solves this problem, but the modification
>> > is small, so you can easily make it yourself to dragdrop.js
>> until an
>> > official release is made.
>> >
>> > Sammi
>> >
>> > On 21/06/2006, at 7:31 PM, Andrew Kaspick wrote:
>> >
>> > > Hello,
>> > >
>> > > I'm having a problem when I set the tree option to true on
>> Sortable.
>> > > If I set the option to false my remote call works fine, but
>> once I set
>> > > it to true, I get some weird log errors from Webrick...
>> > >
>> > > undefined method `update' for "11":String
>> > > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/
>> action_controller/
>> > > cgi_ext/cgi_methods.rb:214:in
>> > > `build_deep_hash'
>> > > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/
>> action_controller/
>> > > cgi_ext/cgi_methods.rb:214:in
>> > > `build_deep_hash'
>> > > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/
>> action_controller/
>> > > cgi_ext/cgi_methods.rb:54:in
>> > > `parse_request_parameters'
>> > > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/
>> action_controller/
>> > > cgi_ext/cgi_methods.rb:47:in
>> > > `parse_request_parameters'
>> > > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/
>> action_controller/
>> > > cgi_process.rb:70:in
>> > > `request_parameters'
>> > > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/
>> action_controller/
>> > > request.rb:12:in
>> > > `parameters'
>> > > ... snipped
>> > >
>> > > The remote call is failing and nothing is getting to my
>> controllers.
>> > > Is there a specific format for labeling the id's of my <li>
>> tags for
>> > > the sortable tree to work?  I'm totally lost as to where  this
>> error
>> > > is coming from.
>> > >
>> > > Has anybody else seen something similar before?
>> > >
>> > > Thanks,
>> > > Andrew
>> > > _______________________________________________
>> > > Rails-spinoffs mailing list
>> > > [email protected]
>> > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>> >
>> >
>> >
>> > _______________________________________________
>> > Rails-spinoffs mailing list
>> > [email protected]
>> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>> >
>> >
>> >
>> >
>>
> _______________________________________________
> Rails-spinoffs mailing list
> [email protected]
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs



_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs




_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to