On 1/23/06, Gregory Hill <[EMAIL PROTECTED]> wrote:
Looks like Sortable already has an 'onUpdate' option that should doexactly what I want. However, I cannot get it to fire. Has anyone hadsuccess with it?
I use onUpdate with my sortables, and it does indeed do what you are
looking for. For a
Looks like Sortable already has an 'onUpdate' option that should do
exactly what I want. However, I cannot get it to fire. Has anyone had
success with it? Passing the onDrop option along to Droppables didn't
work, either. It seems that onDrop is not consistently called because
the 'last_active'
Thanks, man! I appreciate your effort a lot!
greetings,
benni.
-SDG-
Gregory Hill wrote:
Hey Greg,
just my two cents: Why don't you extend the classes and then make a
patch for Thomas to integrate in the main distribution?
Would be awesome to have those small, but needed extensions in
there
> Hey Greg,
>
> just my two cents: Why don't you extend the classes and then make a
> patch for Thomas to integrate in the main distribution?
>
> Would be awesome to have those small, but needed extensions in
there...
>
Yeah, I can do that; the main problem is that I don't have svn access
from
Hey Greg,
just my two cents: Why don't you extend the classes and then make a
patch for Thomas to integrate in the main distribution?
Would be awesome to have those small, but needed extensions in there...
greetings,
benni.
-SDG-
Gregory Hill wrote:
These blocks in the Sortable class need
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gregory Hill
Sent: Monday, January 23, 2006 4:35 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] question about Sortables
> These blocks in the Sortable class need to be extended to provide the
> level of configurability
> These blocks in the Sortable class need to be extended to provide the
> level of configurability you're looking for:
>
> // build options for the draggables
> var options_for_draggable = {
> revert: true,
> ghosting:options.ghosting,
> constraint: options.constrai
Empty
}
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gregory Hill
Sent: Monday, January 23, 2006 4:23 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] question about Sortables
So, is there any way to specify a sortable to only
So, is there any way to specify a sortable to only do a callback when
the dragged item is dropped? As it is, the onChange is called whenever
you move the draggable to a new element (even if you don't drop it), but
I'd rather only call my function after they drop it to avoid unnecessary
additional