Anyone ever experience this issue? Is it because I am creating the sortable instance from within another method?
On Jun 27, 3:19 pm, louis w <[EMAIL PROTECTED]> wrote: > I have done this so many times before, I have no idea what the problem > is. > > I have a button which calls a method (Foo.startSort) which in tern > instantiates a sortables. > > Sortable.create(parent,{tag:'div'}); > > This works fine, and I can drag around the items. But whenever a > draggable item is over another draggable item my error panel goes > nuts. Here are just some of the errors: > > options is undefined > [Break on this error] if (options.tree) { > dragdrop.js (line 934) > > Sortable.options(dropon) is undefined > [Break on this error] if(overlap > .33 && overlap < .66 && > Sortable.options(dropon).tree) { > dragdrop.js (line 755) > > sortable is undefined > [Break on this error] if(sortable.overlap == 'horizontal') > dragdrop.js (line 833) > > Sortable.options(dropon.parentNode) is undefined > [Break on this error] if(overlap > .33 && overlap < .66 && > Sortable.options(dropon).tree) { > dragdrop.js (line 755) > > Sortable.options(dropon) is undefined > [Break on this error] if(sortable.overlap == 'horizontal') > dragdrop.js (line 833) > > this.setDefaultStatus is not a function > [Break on this error] if(sortable.overlap == 'horizontal') > dragdrop.js (line 833) > > Any help would be nice. Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---