aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/update.js1
-rw-r--r--lib/base.php8
2 files changed, 5 insertions, 4 deletions
diff --git a/core/js/update.js b/core/js/update.js
index 5c1054adcb4..1613c3cc93b 100644
--- a/core/js/update.js
+++ b/core/js/update.js
@@ -160,6 +160,7 @@ window.addEventListener('DOMContentLoaded', function() {
});
return false;
});
+
$('.update-show-detailed').on('click', function() {
$('#update-progress-detailed').toggleClass('hidden');
return false;
diff --git a/lib/base.php b/lib/base.php
index 0f08102c81f..6578d506796 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -365,10 +365,10 @@ class OC {
$oldTheme = $systemConfig->getValue('theme');
$systemConfig->setValue('theme', '');
- OC_Util::addScript('core', 'common');
- OC_Util::addScript('core', 'main');
- OC_Util::addTranslations('core');
- OC_Util::addScript('update', null, 'core');
+ \OCP\Util::addScript('core', 'common');
+ \OCP\Util::addScript('core', 'main');
+ \OCP\Util::addTranslations('core');
+ \OCP\Util::addScript('core', 'update');
/** @var \OC\App\AppManager $appManager */
$appManager = \OC::$server->getAppManager();