Skip to content

Commit

Permalink
BUG: TreeDropdownField remove call to get value on search
Browse files Browse the repository at this point in the history
This call was placing the id of the currently selected record into the
search box. Related to
93ea066f53
d5d2b2a19cf0dd2e9479a3fc5796f7
  • Loading branch information
Naomi Guyer committed Sep 11, 2013
1 parent 8864256 commit 6979726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/TreeDropdownField.js
Expand Up @@ -286,7 +286,7 @@
);

this.find('.treedropdownfield-panel').prepend(
$('<input type="text" class="search treedropdownfield-search" data-skip-autofocus="true" placeholder="' + title + '" value="' + this.getValue(title) + '" />')
$('<input type="text" class="search treedropdownfield-search" data-skip-autofocus="true" placeholder="' + title + '" value="" />')
);
},
search: function(str, callback) {
Expand Down

0 comments on commit 6979726

Please sign in to comment.