You've found a bug. Please enter a ticket here:
http://ui.jquery.com/bugs/newticket
As a work-around (in the meantime), accept can also be specified as a
function. So you can have that function take care of any change in accept
logic. If you specify an accept function, it will get called once for each
draggable element, with the element passed as the first parameter. It works
like a filter. Return a boolean based on some logic performed against each
element.
- Richard
On Sat, Sep 13, 2008 at 6:44 PM, smurkas <[EMAIL PROTECTED]> wrote:
>
> Hello. I am working on an application where I want to be able to
> dynamically feed a droppable element which draggables it should
> accept. According to what I have been able to read $
> ("whatever").data("accept.droppable", "whatever") should work since
> accept is listed as an option in the docs. But I get the error
> "m[i].options.accept.call is not a function" in firebug. I have tried
> changing other options on my droppable through the .data() command and
> that works so does anyone know what I am doing wrong?
>
>
> Kindly, Marcus.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---