Merge pull request #55 from tractorcow/pulls/fix-elementnotfound

BUG Fix call to protected method and js change event
This commit is contained in:
Ingo Schommer 2014-06-27 08:15:52 +12:00
commit 0a6854590d

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);