diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-09-26 13:18:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-26 13:18:41 +0200 |
commit | 0873fe42848a939664852abff240f0826f39b9e5 (patch) | |
tree | 98160f990c0726584f3315aeb48261f575cf97d0 | |
parent | 982ffa9092e66c74965d2f0f6be34d39bbda1875 (diff) | |
parent | b79997dd3378871c9e2cd603e529030f1581e35f (diff) | |
download | nextcloud-server-0873fe42848a939664852abff240f0826f39b9e5.tar.gz nextcloud-server-0873fe42848a939664852abff240f0826f39b9e5.zip |
Merge pull request #1524 from nextcloud/addScript
use correct case for addScript (#26214)
-rw-r--r-- | apps/files/lib/Controller/ViewController.php | 30 | ||||
-rw-r--r-- | apps/files/templates/admin.php | 2 |
2 files changed, 16 insertions, 16 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index db8f32ddf73..d3708915273 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -160,16 +160,16 @@ class ViewController extends Controller { \OCP\Util::addStyle('files', 'files'); \OCP\Util::addStyle('files', 'upload'); \OCP\Util::addStyle('files', 'mobile'); - \OCP\Util::addscript('files', 'app'); - \OCP\Util::addscript('files', 'file-upload'); - \OCP\Util::addscript('files', 'newfilemenu'); - \OCP\Util::addscript('files', 'jquery.fileupload'); - \OCP\Util::addscript('files', 'jquery-visibility'); - \OCP\Util::addscript('files', 'fileinfomodel'); - \OCP\Util::addscript('files', 'filesummary'); - \OCP\Util::addscript('files', 'breadcrumb'); - \OCP\Util::addscript('files', 'filelist'); - \OCP\Util::addscript('files', 'search'); + \OCP\Util::addScript('files', 'app'); + \OCP\Util::addScript('files', 'file-upload'); + \OCP\Util::addScript('files', 'newfilemenu'); + \OCP\Util::addScript('files', 'jquery.fileupload'); + \OCP\Util::addScript('files', 'jquery-visibility'); + \OCP\Util::addScript('files', 'fileinfomodel'); + \OCP\Util::addScript('files', 'filesummary'); + \OCP\Util::addScript('files', 'breadcrumb'); + \OCP\Util::addScript('files', 'filelist'); + \OCP\Util::addScript('files', 'search'); \OCP\Util::addScript('files', 'favoritesfilelist'); \OCP\Util::addScript('files', 'recentfilelist'); @@ -188,11 +188,11 @@ class ViewController extends Controller { \OC_Util::addVendorScript('core', 'handlebars/handlebars'); - \OCP\Util::addscript('files', 'fileactions'); - \OCP\Util::addscript('files', 'fileactionsmenu'); - \OCP\Util::addscript('files', 'files'); - \OCP\Util::addscript('files', 'keyboardshortcuts'); - \OCP\Util::addscript('files', 'navigation'); + \OCP\Util::addScript('files', 'fileactions'); + \OCP\Util::addScript('files', 'fileactionsmenu'); + \OCP\Util::addScript('files', 'files'); + \OCP\Util::addScript('files', 'keyboardshortcuts'); + \OCP\Util::addScript('files', 'navigation'); // mostly for the home storage's free space // FIXME: Make non static diff --git a/apps/files/templates/admin.php b/apps/files/templates/admin.php index ef357245df7..1cbb339fee7 100644 --- a/apps/files/templates/admin.php +++ b/apps/files/templates/admin.php @@ -1,4 +1,4 @@ - <?php OCP\Util::addscript('files', 'admin'); ?> + <?php OCP\Util::addScript('files', 'admin'); ?> <div class="section"> <h2><?php p($l->t('File handling')); ?></h2> |