From df95d85a0886009ce5ccae2993bbb1d0d04bc182 Mon Sep 17 00:00:00 2001 From: unclecheese Date: Mon, 8 Dec 2014 12:30:55 +1300 Subject: [PATCH] MINOR: Include jQuery, e.g. for frontend --- code/DisplayLogicFormField.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/DisplayLogicFormField.php b/code/DisplayLogicFormField.php index d676347..6b1963a 100644 --- a/code/DisplayLogicFormField.php +++ b/code/DisplayLogicFormField.php @@ -101,6 +101,7 @@ public function DisplayLogicMasters() { */ public function DisplayLogic() { if($this->displayLogicCriteria) { + Requirements::javascript(THIRDPARTY_DIR.'/jquery/jquery.js'); Requirements::javascript(THIRDPARTY_DIR.'/jquery-entwine/dist/jquery.entwine-dist.js'); Requirements::javascript(DISPLAY_LOGIC_DIR.'/javascript/display_logic.js'); Requirements::css(DISPLAY_LOGIC_DIR.'/css/display_logic.css'); @@ -114,4 +115,4 @@ public function DisplayLogic() { -} \ No newline at end of file +}