RE: [Rails-spinoffs] Sortabls onUpdate function

2006-03-20 Thread Claudio Gamboa
--Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Claudio Gamboa > Sent: Monday, March 20, 2006 12:52 PM > To: rails-spinoffs@lists.rubyonrails.org > Subject: Re: [Rails-spinoffs] Sortabl

RE: [Rails-spinoffs] Sortabls onUpdate function

2006-03-20 Thread Whitcraft, Jon
ch 20, 2006 1:04 PM To: rails-spinoffs@lists.rubyonrails.org Subject: RE: [Rails-spinoffs] Sortabls onUpdate function What he meant is that for onUpdate to work you need to have id="xxx_###" in your LI elements, as onUpdate uses the Sortable.serialize function to determine if something h

RE: [Rails-spinoffs] Sortabls onUpdate function

2006-03-20 Thread Gregory Hill
wiki better than I'm explaining it now. Greg > -Original Message- > From: [EMAIL PROTECTED] [mailto:rails-spinoffs- > [EMAIL PROTECTED] On Behalf Of Whitcraft, Jon > Sent: Monday, March 20, 2006 10:58 AM > To: rails-spinoffs@lists.rubyonrails.org > Subject: RE:

RE: [Rails-spinoffs] Sortabls onUpdate function

2006-03-20 Thread Whitcraft, Jon
sage- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Claudio Gamboa Sent: Monday, March 20, 2006 12:52 PM To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinoffs] Sortabls onUpdate function May be you forgot the LI ID in your HTML On Mon, 2006-03-20 at 12:43 -0500,

Re: [Rails-spinoffs] Sortabls onUpdate function

2006-03-20 Thread Claudio Gamboa
May be you forgot the LI ID in your HTML On Mon, 2006-03-20 at 12:43 -0500, Whitcraft, Jon wrote: > I have this code. > > > > > > Sortable.create('orderable', {onUpdate: doAlert}); > > > > function doAlert() { > >

[Rails-spinoffs] Sortabls onUpdate function

2006-03-20 Thread Whitcraft, Jon
I have this code.  

Sortable.create('orderable', {onUpdate: doAlert});