[Rails-spinoffs] Re: Nuby Sortable Question? How do you pass multiple lists back to the server

2006-04-05 Thread Larry White
what if we keep track in flash of all the lists that get updated - then we can persist all the changes at the end and run the schedule routine then.On 4/5/06, Larry White <[EMAIL PROTECTED]> wrote: I have multiple drag and drop lists. If you sort within one list, you can pass the list back

[Rails-spinoffs] Nuby Sortable Question? How do you pass multiple lists back to the server

2006-04-05 Thread Larry White
I have multiple drag and drop lists. If you sort within one list, you can pass the list back to the server using: <%= sortable_element 'task-list' << person.id.to_s   ,              :url ="" { :action ="" "noop", :id => @user },             ...         %> Which causes this to be included in the

Re: [Rails-spinoffs] RE: drag and drop sorting with an empty lis

2006-03-31 Thread Larry White
whoops. that syntax is wrong obviously -  i was doing it from memory   width: 50px, etc.On 3/31/06, Larry White <[EMAIL PROTECTED]> wrote: As it turns out, if you give the list a height and width then you can drop on it when it's empty.  You can do that with standard css, ala ul.so

Re: [Rails-spinoffs] RE: drag and drop sorting with an empty lis

2006-03-31 Thread Larry White
As it turns out, if you give the list a height and width then you can drop on it when it's empty.  You can do that with standard css, ala ul.sortable-list {    width = 100px;    min-height = 50px; } Thank you for your response. I think you also have to have the sortable's dropOnEmpty parameter

[Rails-spinoffs] drag and drop sorting with an empty list

2006-03-30 Thread Larry White
Does anyone have a good solution for using script.aculo.us drag and drop sorting with multiple lists when one or more of those lists might start out empty?I want to drop from list A to list B, but unless B starts out with something in it, there's no drop target there.   My guess is that I could put

Re: [Rails-spinoffs] possible scriptaculous bug

2006-03-30 Thread Larry White
Hi, thanks.  You're absolutely right. I don't know what i was thinking :( Works fine now.  On 3/30/06, Claudio Gamboa <[EMAIL PROTECTED]> wrote: Possible Larry White bugwhen you call Sortable.create on first time the element "task-list102"not existscall both Sortable.cre

[Rails-spinoffs] Re: possible scriptaculous bug

2006-03-30 Thread Larry White
I should have mentioned the behavior is consistent on ie6 and firefox under windows.  ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

[Rails-spinoffs] possible scriptaculous bug

2006-03-30 Thread Larry White
I have two sortable lists, one after the other.  I can drag from the first to the second but not from the second to the first.  The behavior is consistent if n > 2.  For example, I can drag from 1 to 2, 3 or 4 from 2 to 3 or 4 and from 3 to 4, but not in the reverse order:  I can't drag from the 4t