Simulate the change event after add a new option #6

Closed
matheo opened this Issue Mar 10, 2012 · 2 comments

Projects

None yet

2 participants

matheo commented Mar 10, 2012

After add the new option, to fire the 'change' event is missing
for prototype I've added the following line finalizing Chosen.prototype.select_create_option:

if (typeof Event.simulate === 'function') this.form_field.simulate("change");

Seems that the jQuery plugin already tiggers the 'focus'.
TIA :)

Owner

Just like for the original repo, request can only be accepted if made in CoffeeScript and build with cake build rather than editing the JavaScript files

@koenpunt koenpunt closed this Apr 13, 2012
matheo commented Apr 13, 2012

I don't know how to use it and I don't have the time to do it
so, if it matters for you, the Prototype event is missing there...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment