Ok, that explains that!

But I found another problem....

The revert option of the draggable doesn't seem to consider the  
connected sortable a "valid" target.

If I set revert: "invalid" for my draggables, they revert to their  
original position before joining the sortable. As the sortable is  
connected, I think it should be considered valid.

Can you suggest a work around for this??

Kindest Regards

Jonathan



On 11 Nov 2008, at 11:13, Paul Bakaus wrote:

> Jonathan,
>
> actually, connectToSortable is currently only supported if you use  
> helper: 'clone'. This is a known
> limitation, but we unfortunately didn't include it into the  
> documentation.
>
> We're working on a rewrite of connectToSortable, and maybe can  
> change this behaviour in
> the future.
>
> Thanks,
> Paul
>
> On Mon, Nov 10, 2008 at 5:04 PM, Jonathan Franks  
> <[EMAIL PROTECTED]> wrote:
>
> Hi Paul -
> I've tested on 1.6rc2 and the problem is just the same as in 1.5.2
> Should I modify the ticket to show for 1.6 instead of 1.5.2??
> - Jonathan
>
>
> On 9 Nov 2008, at 10:07, Paul Bakaus wrote:
>
> > Excellent, thanks!
> >
> > On Sat, Nov 8, 2008 at 1:39 PM, Jonathan Franks
> > <[EMAIL PROTECTED]> wrote:
> >
> > OK, i entered a couple of tickets. I'm using the stable 1.5.2  
> version,
> > but as you are on rc2 for 1.6, I'm not sure how relevant the tickets
> > are.
> >
> > I'll try investigating with 1.6rc2 this weekend or early next week.
> >
> > Thanks for your help (and a great framework!!)
> >
> > Regards
> >
> > Jonathan
> >
> >
> > On 7 Nov 2008, at 14:17, Paul Bakaus wrote:
> >
> > > This looks like a bug to me - could you enter it into the
> > bugtracker?
> > >
> > > Thanks,
> > > Paul
> > >
> > > On Fri, Nov 7, 2008 at 2:25 PM, Jonathan Franks
> > > <[EMAIL PROTECTED]> wrote:
> > >
> > > Thanks Paul,
> > >
> > > I'm playing with connectToSortable now and I'm having a  
> problem....
> > >
> > > the draggable is successfully added to the HTML for the sortable  
> in
> > > the position where it is dropped. However, on screen the dropped
> > item
> > > is way off where it should be. And its left with the draggable
> > > classes.
> > >
> > > So looking at the code, I end up with something like this....
> > >
> > > <ul id="sortables" class="testing ui-sortable" style="cursor:  
> move;
> > > position: relative;">
> > > <li id="order_1" class="sortable"> 1 </li>
> > > <li id="order_3" class="sortable"> 3 </li>
> > > <li id="order_2" class="sortable ui-draggable ui-draggable- 
> dragging"
> > > style="position: relative; left: 4px; top: -38px;"> 2 </li>
> > > </ul>
> > >
> > > Any suggestions?
> > >
> > > Thanks in advance,
> > >
> > > Jonathan
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Paul Bakaus
> > > UI Architect
> > > --
> > > http://paulbakaus.com
> > > http://www.linkedin.com/in/paulbakaus
> > >
> > > >
> >
> >
> >
> >
> >
> >
> > --
> > Paul Bakaus
> > UI Architect
> > --
> > http://paulbakaus.com
> > http://www.linkedin.com/in/paulbakaus
> >
> > >
>
>
>
>
>
>
> -- 
> Paul Bakaus
> UI Architect
> --
> http://paulbakaus.com
> http://www.linkedin.com/in/paulbakaus
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to