mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX: Fix issue with 'clear' button on CMS SiteTree search
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@76852 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9e177f4c10
commit
f80bd441b7
@ -207,7 +207,7 @@ SiteTreeFilterForm.prototype = {
|
||||
}
|
||||
else {
|
||||
Form.getElements(this).each(function(el){
|
||||
if (el.type == 'text') $(el).clear();
|
||||
if (el.type == 'text') el.value = '';
|
||||
else if (el.type == 'select-one') el.value = 'All';
|
||||
});
|
||||
document.getElementsBySelector('.SearchCriteriaContainer', this).each(function(el){
|
||||
|
Loading…
Reference in New Issue
Block a user