-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
I am setting the sURL property to make a server call when the rows are
reordered. This is working as expected. However, my requirements demand that
all ajax calls contain a security token. Would it be possible to add a
callback function that executes immediately before the ajax call? Ideally, the
args for this function would be the json object:
{ id: ui.item.context.id,
fromPosition: oState.iCurrentPosition,
toPosition: oState.iNewPosition,
direction: oState.sDirection,
group: sGroup
}
currently used by the ajax call, so I could append my security token to it.
I could understand that you may not want to expose this data, so another option
could be to pass the callback function an empty json object (or maybe it could
at least contain the row Id) to be manipulated, then you could add the
to/fromPosition and other data after the callback executes.
Thanks
Original issue reported on code.google.com by eng...@gmail.com
on 2 Aug 2012 at 3:59