Merged from branches/2.3

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76859 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-05-14 06:15:11 +00:00
parent b360ad9cd7
commit 8bc81cc794

View File

@ -210,7 +210,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){