From d129a2269197a61db8b5a809d9700258cb0852a1 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 29 Sep 2008 17:26:02 +0000 Subject: [PATCH] BUGFIX Fixed ModelAdmin Requirements path references git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63294 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/ModelAdmin.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/code/ModelAdmin.php b/code/ModelAdmin.php index 324201c2..a5075120 100644 --- a/code/ModelAdmin.php +++ b/code/ModelAdmin.php @@ -102,16 +102,16 @@ abstract class ModelAdmin extends LeftAndMain { //user_error('ModelAdmin::init(): Invalid Model class', E_USER_ERROR); } - Requirements::css(CMS_DIR . 'css/ModelAdmin.css'); // standard layout formatting for management UI - Requirements::css(CMS_DIR . 'css/silverstripe.tabs.css'); // follows the jQuery UI theme conventions + Requirements::css(CMS_DIR . '/css/ModelAdmin.css'); // standard layout formatting for management UI + Requirements::css(CMS_DIR . '/css/silverstripe.tabs.css'); // follows the jQuery UI theme conventions - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/jquery/jquery.js'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/jquery/plugins/livequery/jquery.livequery.js'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/jquery/ui/ui.core.js'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/jquery/ui/ui.tabs.js'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/jquery/plugins/form/jquery.form.js'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/jquery/plugins/effen/jquery.fn.js'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/jquery/jquery_improvements.js'); + Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery.js'); + Requirements::javascript(THIRDPARTY_DIR . '/jquery/plugins/livequery/jquery.livequery.js'); + Requirements::javascript(THIRDPARTY_DIR . '/jquery/ui/ui.core.js'); + Requirements::javascript(THIRDPARTY_DIR . '/jquery/ui/ui.tabs.js'); + Requirements::javascript(THIRDPARTY_DIR . '/jquery/plugins/form/jquery.form.js'); + Requirements::javascript(THIRDPARTY_DIR . '/jquery/plugins/effen/jquery.fn.js'); + Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery_improvements.js'); Requirements::javascript(CMS_DIR . '/javascript/ModelAdmin.js'); }