From ae66792c337c90c54a6d2bef7a7820e5d11a7bba Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Mon, 4 Oct 2010 04:25:17 +0000 Subject: [PATCH] MINOR Added jQuery requirement to TreeDropdownField (see #5139) (from r100946) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@111547 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/TreeDropdownField.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/forms/TreeDropdownField.php b/forms/TreeDropdownField.php index 89e0df9f5..f3cb4f4f1 100755 --- a/forms/TreeDropdownField.php +++ b/forms/TreeDropdownField.php @@ -88,6 +88,8 @@ class TreeDropdownField extends FormField { public function Field() { Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/prototype.js'); Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/behaviour.js'); + Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/jquery/jquery.js'); + Requirements::javascript(SAPPHIRE_DIR . '/javascript/jquery_improvements.js'); Requirements::css(SAPPHIRE_DIR . '/css/TreeDropdownField.css'); Requirements::javascript(SAPPHIRE_DIR . "/javascript/tree/tree.js"); Requirements::css(SAPPHIRE_DIR . "/javascript/tree/tree.css");