Hi Justin,
Yes I have, to 1.8.2 . Needed it for a calendar pluggin.
I've replaced the
var aItems = $j('##' + formfieldname + '-library-wrapper').sortable(
'toArray',{'attribute':'serialize'});
with
var aItems = $j('li','##' + formfieldname + '-library-wrapper').map(function
(){return $j(this).attr('serialize');}).get();
And now all works :)
Thanks for the suggestion, I tested it with 1.6.4 and all worked as
expected with the original code.
Phil
On Monday, 15 April 2013 13:47:45 UTC+12, Justin Carter wrote:
>
> Hmmm, ok getting closer... Have you overridden jQuery using
> skin:registerJS with something newer than 1.6.4 (or jQuery UI with
> something newer than 1.8.x?) or are you just using whatever comes with
> Core?
>
> cheers,
> Justin
>
> --
> Justin Carter
> http://www.madfellas.com/blog
> http://twitter.com/justincarter
>
>
> On Mon, Apr 15, 2013 at 10:04 AM, Phillip Rasmussen <
> [email protected] <javascript:>> wrote:
>
>> It appears that
>> var aItems = $j('##' + formfieldname + '-library-wrapper').sortable(
>> 'toArray',{'attribute':'serialize'});
>> is returning the js object and not the value of 'serialize'
>>
>>
>>
>> On Monday, 15 April 2013 11:33:35 UTC+12, Phillip Rasmussen wrote:
>>>
>>> Sorry, I stand corrected.
>>> It happend on any dmHTML page.
>>> Add relatedObjects > publish > creat a draft > removed a relatedObject >
>>> save = error
>>>
>>> There is obviously some wrong with detachLibraryItem. I'll have a poke
>>> around.
>>>
>>> --
>> You received this message cos you are subscribed to "farcry-dev" Google
>> group.
>> To post, email: [email protected] <javascript:>
>> To unsubscribe, email: [email protected] <javascript:>
>> For more options: http://groups.google.com/group/farcry-dev
>> --------------------------------
>> Follow us on Twitter: http://twitter.com/farcry
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "farcry-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
---
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.