Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Removed unnecessary Requirements in AssetAdmin->init() - they a…

…re now included by jquery.ondemand

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92838 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 7569c5385eb47c68b53973640bd13012b6d4b626 1 parent e91c0ca
@chillu chillu authored
Showing with 1 addition and 8 deletions.
  1. +1 −8 code/AssetAdmin.php
View
9 code/AssetAdmin.php
@@ -70,21 +70,14 @@ public function currentPageID() {
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(<<<JS
Please sign in to comment.
Something went wrong with that request. Please try again.