mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02: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) {
|
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();
|
||||||
|
Loading…
Reference in New Issue
Block a user