Open GoogleCodeExporter opened 8 years ago
Just noting that the code that might need to be looked at for this request
seems to be centered around lines 280 & 281 (v1.1); if you could add a config
param such as "autoChange" (boolean) so that it excluded these lines from the
checkBox.click function
280 - self._syncSelected(aCheckBox);
281 - self.sourceSelect.trigger("change", 'ddcl_internal');
then later in the onComplete routine set up the ability to apply the change
list (if any) to the select and THEN trigger change on it, this would be ideal.
Cheers :)
Original comment by tim.stcl...@gmail.com
on 9 Feb 2011 at 11:25
Had I not been lying in bed trying to solve this problem I would have come up
with these changes. I've made changes to dropdownchecklist.js to support the
functionality the way I'd like.
I've added a dirty flag which is set if you make a change (it doesn't
self-undo, so change still triggers if you set then unset an item). I've added
an option called triggerOnChange (boolean; true) which then prevents the change
trigger from firing until you close the list.
Sorry, don't have access to a diff/patch tool on me so I've attached the
changed file
(also pasted on http://codepad.org/wS112rn6)
Would be great to see this kind of option included in a future supported
release.
Original comment by tim.stcl...@gmail.com
on 9 Feb 2011 at 10:14
Attachments:
I will add this feature to the wish-list for a future release.
Original comment by womohun...@ittrium.com
on 18 Feb 2011 at 2:37
Original issue reported on code.google.com by
tim.stcl...@gmail.com
on 9 Feb 2011 at 11:14