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
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 > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Great. Thanks for the fix. On 6/21/06, Sammi Williams <ioquatix-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org> 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 > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > >
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 <akaspick-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Great. Thanks for the fix. > > On 6/21/06, Sammi Williams <ioquatix-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org> 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 > > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > > > > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > > > > > >
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 <akaspick-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Great. Thanks for the fix. >> >> On 6/21/06, Sammi Williams <ioquatix-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org> 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 >> > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >> > >> > >> > >> > _______________________________________________ >> > Rails-spinoffs mailing list >> > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >> > >> > >> > >> > >> > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
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 <ioquatix-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org> 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 <akaspick-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Great. Thanks for the fix. > >> > >> On 6/21/06, Sammi Williams <ioquatix-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org> 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 > >> > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > >> > > >> > > >> > > >> > _______________________________________________ > >> > Rails-spinoffs mailing list > >> > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > >> > > >> > > >> > > >> > > >> > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > >
If you can do a diff of those files and post it here that would really speed things up, I''m currently doing paid work, and have exams, so don''t have much time to work at this, but can try to sort it out if you do this. Sammi On 22/06/2006, at 1:23 PM, Andrew Kaspick wrote:> 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 <ioquatix-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org> 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 <akaspick-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> Great. Thanks for the fix. >> >> >> >> On 6/21/06, Sammi Williams <ioquatix-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org> 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 >> >> > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> >> > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >> >> > >> >> > >> >> > >> >> > _______________________________________________ >> >> > Rails-spinoffs mailing list >> >> > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> >> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >> >> > >> >> > >> >> > >> >> > >> >> >> > _______________________________________________ >> > Rails-spinoffs mailing list >> > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >> >> >> >> _______________________________________________ >> Rails-spinoffs mailing list >> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >> >> >> >> > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
I thought it was you who made the changes to the file, so I assumed you knew all the changes that were made. I''ve already merged the changes to my own copy and have things working fine now, so I currently don''t have any problems. I just assumed the rest of the changes were supposed to be in scriptaculous along with bug I was witnessing earlier. So no worries then. I''m good to go. Andrew On 6/21/06, Sammi Williams <ioquatix-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org> wrote:> If you can do a diff of those files and post it here that would > really speed things up, I''m currently doing paid work, and have > exams, so don''t have much time to work at this, but can try to sort > it out if you do this. > > Sammi > > On 22/06/2006, at 1:23 PM, Andrew Kaspick wrote: > > > 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 <ioquatix-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org> 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 <akaspick-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> >> Great. Thanks for the fix. > >> >> > >> >> On 6/21/06, Sammi Williams <ioquatix-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org> 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 > >> >> > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> >> > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > >> >> > > >> >> > > >> >> > > >> >> > _______________________________________________ > >> >> > Rails-spinoffs mailing list > >> >> > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> >> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > >> > _______________________________________________ > >> > Rails-spinoffs mailing list > >> > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > >> > >> > >> > >> _______________________________________________ > >> Rails-spinoffs mailing list > >> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > >> > >> > >> > >> > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > >