BUGFIX Clearing field containers instead of just input fields in Tree Search javascript

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92655 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 02:38:29 +00:00
parent e37b78878c
commit bb6f4a9200

View File

@ -348,7 +348,7 @@ var ss_MainLayout;
},
_resetForm: function(e) {
this.find('.field :input').clearFields().not(':first').hide();
this.find('.field').clearFields().not(':first').hide();
// Reset URL to default
$('#sitetree')[0].clearCustomURL();