Permalink
Browse files

BUGFIX Trigger change event on hidden input in TreeDrodpownField.js

  • Loading branch information...
1 parent 3fe743a commit 8e7d221ce27d9cc0870e614bc7e8d3733a363538 @chillu chillu committed May 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/TreeDropdownField.js
@@ -137,7 +137,7 @@
else this.loadTree(null, updateFn);
},
setValue: function(val) {
- this.find(':input:hidden').val(val);
+ this.find(':input:hidden').val(val).trigger('change');
this.updateTitle();
this.trigger('change');
},

0 comments on commit 8e7d221

Please sign in to comment.