From bb6f4a9200f0462d4b886d62722dbc2e31b22f1e Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 21 Nov 2009 02:38:29 +0000 Subject: [PATCH] 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 --- javascript/CMSMain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/CMSMain.js b/javascript/CMSMain.js index 73db9608..4e1793c9 100644 --- a/javascript/CMSMain.js +++ b/javascript/CMSMain.js @@ -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();