Permalink
Browse files

MINOR Triggering change event on setValue() in TreeDropdownField.js (…

…necessary for "insert image" form in the cms)
  • Loading branch information...
chillu committed Apr 5, 2011
1 parent 9b29616 commit a9e81c17fd7e343d096ebefc9b4699c8f6fb3ef4
Showing with 2 additions and 0 deletions.
  1. +2 −0 javascript/TreeDropdownField.js
@@ -53,6 +53,8 @@
},
setValue: function(val) {
this.find(':input:hidden').val(val);
+
+ this.trigger('change');
},
getValue: function() {
return this.find(':input:hidden').val();

0 comments on commit a9e81c1

Please sign in to comment.