From edd958836e3cef5e93ae3ee59b4db398f8f86cad Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Wed, 5 Oct 2011 16:32:01 +0100 Subject: [PATCH] Moved addScript and addStyle calls to app.php --- apps/files_texteditor/appinfo/app.php | 6 ++++-- files/index.php | 3 --- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/files_texteditor/appinfo/app.php b/apps/files_texteditor/appinfo/app.php index 6c10fe44704..15d79933a17 100644 --- a/apps/files_texteditor/appinfo/app.php +++ b/apps/files_texteditor/appinfo/app.php @@ -1,4 +1,6 @@ diff --git a/files/index.php b/files/index.php index 67324d4df2c..aa081d48804 100644 --- a/files/index.php +++ b/files/index.php @@ -30,12 +30,9 @@ OC_Util::checkLoggedIn(); // Load the files we need OC_Util::addStyle( "files", "files" ); -OC_Util::addStyle( 'files_texteditor', 'style' ); OC_Util::addScript( "files", "files" ); OC_Util::addScript( 'files', 'filelist' ); OC_Util::addScript( 'files', 'fileactions' ); -OC_Util::addScript( 'files_texteditor', 'editor'); -OC_Util::addScript( 'files_texteditor', 'aceeditor/ace'); if(!isset($_SESSION['timezone'])){ OC_Util::addScript( 'files', 'timezone' ); } -- 2.39.5