MINOR Triggering change event on setValue() in TreeDropdownField.js (necessary for "insert image" form in the cms)

This commit is contained in:
Ingo Schommer 2011-04-05 15:35:49 +12:00
parent 9b29616710
commit a9e81c17fd

View File

@ -53,6 +53,8 @@
}, },
setValue: function(val) { setValue: function(val) {
this.find(':input:hidden').val(val); this.find(':input:hidden').val(val);
this.trigger('change');
}, },
getValue: function() { getValue: function() {
return this.find(':input:hidden').val(); return this.find(':input:hidden').val();