From 7569c5385eb47c68b53973640bd13012b6d4b626 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 21 Nov 2009 03:20:34 +0000 Subject: [PATCH] MINOR Removed unnecessary Requirements in AssetAdmin->init() - they are now included by jquery.ondemand git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92838 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/AssetAdmin.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/code/AssetAdmin.php b/code/AssetAdmin.php index a9141eb1..ccdb6d36 100755 --- a/code/AssetAdmin.php +++ b/code/AssetAdmin.php @@ -70,21 +70,14 @@ class AssetAdmin extends LeftAndMain { function init() { parent::init(); - // needed for MemberTableField (Requirements not determined before Ajax-Call) - Requirements::css(SAPPHIRE_DIR . "/css/ComplexTableField.css"); // Create base folder if it doesnt exist already if(!file_exists(ASSETS_PATH)) Filesystem::makeFolder(ASSETS_PATH); Requirements::javascript(CMS_DIR . "/javascript/AssetAdmin.js"); - Requirements::javascript(CMS_DIR . "/javascript/CMSMain_upload.js"); Requirements::javascript(CMS_DIR . "/javascript/Upload.js"); Requirements::javascript(CMS_DIR . "/thirdparty/swfupload/swfupload.js"); - - Requirements::javascript(THIRDPARTY_DIR . "/greybox/AmiJS.js"); - Requirements::javascript(THIRDPARTY_DIR . "/greybox/greybox.js"); - Requirements::css(THIRDPARTY_DIR . "/greybox/greybox.css"); - + Requirements::css(CMS_DIR . "/css/AssetAdmin.css"); Requirements::customScript(<<