mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Triggering change event on setValue() in TreeDropdownField.js (necessary for "insert image" form in the cms)
This commit is contained in:
parent
9b29616710
commit
a9e81c17fd
@ -53,6 +53,8 @@
|
||||
},
|
||||
setValue: function(val) {
|
||||
this.find(':input:hidden').val(val);
|
||||
|
||||
this.trigger('change');
|
||||
},
|
||||
getValue: function() {
|
||||
return this.find(':input:hidden').val();
|
||||
|
Loading…
x
Reference in New Issue
Block a user