mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #2401 from adrexia/tree-value
BUG: TreeDropdownField remove call to get value on search
This commit is contained in:
commit
d747334737
@ -286,7 +286,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
this.find('.treedropdownfield-panel').prepend(
|
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) {
|
search: function(str, callback) {
|
||||||
|
Loading…
Reference in New Issue
Block a user