diff options
Diffstat (limited to 'apps/media/appinfo')
-rw-r--r-- | apps/media/appinfo/app.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/media/appinfo/app.php b/apps/media/appinfo/app.php index 9eab03b631a..22cb10d7897 100644 --- a/apps/media/appinfo/app.php +++ b/apps/media/appinfo/app.php @@ -22,10 +22,9 @@ require_once('apps/media/lib_media.php'); -OC_UTIL::addScript('media','music'); -OC_UTIL::addScript('media','jquery.jplayer.min'); -OC_UTIL::addStyle('media','style'); -OC_UTIL::addStyle('media','jplayer'); +if(OC_APP::getCurrentApp()=='files'){ + OC_UTIL::addScript('media','files'); +} OC_APP::register( array( 'order' => 3, 'id' => 'media', 'name' => 'Media' )); |