From 188827a7b5a2318419105ffda2db4031189e872e Mon Sep 17 00:00:00 2001 From: Julian Seidenberg Date: Tue, 1 Mar 2011 15:02:38 +1300 Subject: [PATCH] BUGFIX: added missing entwine dependency to Security admin --- code/MemberImportForm.php | 3 ++- code/SecurityAdmin.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/MemberImportForm.php b/code/MemberImportForm.php index 74fcfb9c..a2423ef6 100644 --- a/code/MemberImportForm.php +++ b/code/MemberImportForm.php @@ -55,7 +55,8 @@ class MemberImportForm extends Form { parent::__construct($controller, $name, $fields, $actions, $validator); - + + Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/jquery-entwine/dist/jquery.entwine-dist.js'); Requirements::javascript(CMS_DIR . '/javascript/MemberImportForm.js'); $this->addExtraClass('import-form'); } diff --git a/code/SecurityAdmin.php b/code/SecurityAdmin.php index f66ddd53..a86fd491 100644 --- a/code/SecurityAdmin.php +++ b/code/SecurityAdmin.php @@ -237,6 +237,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider { Requirements::javascript(THIRDPARTY_DIR . '/jquery-livequery/jquery.livequery.js'); Requirements::javascript(SAPPHIRE_DIR . '/javascript/jquery_improvements.js'); Requirements::css(CMS_DIR . '/css/MemberImportForm.css'); + Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/jquery-entwine/dist/jquery.entwine-dist.js'); Requirements::javascript(CMS_DIR . '/javascript/MemberImportForm.js'); return $this->renderWith('BlankPage', array(