What I'm attempting to do may not be possible.  I'm using
scriptaculous with prototype to send an Ajax.Request to auto update a
sortable list.  The program I'm using has permissions, so users will
only have access to modify the order of certain items, even though all
will be listed.  Using "only", I can limit their ability to move those
items they don't have access to, but that means when I serialize, it
only passes a list of items they do have access to (which means the
program has no idea what order the other items are in, and so their
order is lost).  I can generate and pass a list of the original order,
and write a program that does the ordering based off of that, but
since I'm using an Ajax.Request, the information doesn't refresh when
the order is changed, because the screen doesn't change.  Is there a
way to include the order of the items they don't have access to move
in the serialize, but don't allow them to move it?
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to