BUG Fix js change event not triggering

This commit is contained in:
Damian Mooyman 2014-06-19 17:14:06 +12:00
parent fd40300c54
commit 042989e270

View File

@ -486,6 +486,7 @@ class SilverStripeContext extends MinkContext implements SilverStripeAwareContex
(function($) { (function($) {
$("#$fieldID") $("#$fieldID")
.val($valueEncoded) .val($valueEncoded)
.change()
.trigger('liszt:updated') .trigger('liszt:updated')
.trigger('chosen:updated'); .trigger('chosen:updated');
})(jQuery); })(jQuery);