Closed GoogleCodeExporter closed 8 years ago
minor change on the code
Original comment by leeja...@gmail.com
on 23 May 2011 at 9:26
Attachments:
Looks like a nice enhancement to me. I will try to roll it into the next
version. Thanks for the input.
Original comment by womohun...@ittrium.com
on 26 May 2011 at 3:37
Incorporated into version 1.4 - see sample that applies a limit on the count of
items selected.
Original comment by womohun...@ittrium.com
on 14 Jun 2011 at 9:17
Is there a way to update the original select box quicker? I am using ajax -
when a user clicks on a checkbox other values are dynamically altered on the
site. Unfortunately with DDCL the original select update happens too late for
the updated selection to be sent as parameters in an ajax request.
It seems the onitemclick trigger happens before the original select is updated.
How can I change this around?
Original comment by Mario.Po...@gmail.com
on 12 Nov 2011 at 4:01
The firing of onItemClick is purposefully done before the update of the
underlying SELECT so that the callback function has a chance to veto the
action. The example code of applying a limit on the count of items selected
works just that way.
What you are asking for is something a bit different, more like an
'afterItemClick' callback function. This would have to added in as an
enhancement.
I think the call to onItemClick is fairly isolated in the source code. So long
as you do not need the veto ability, you could possibly alter where onItemClick
gets called in your copy of the DDCL source.
Sorry I can't be of more help.
Original comment by womohun...@ittrium.com
on 14 Nov 2011 at 3:53
Original issue reported on code.google.com by
leeja...@gmail.com
on 23 May 2011 at 9:09