diff --git a/core/js/update.js b/core/js/update.js index 5c1054adcb495..1613c3cc93bf1 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 0f08102c81f56..6578d50679629 100644 --- a/lib/base.php +++ b/lib/base.php @@ -365,10 +365,10 @@ private static function printUpgradePage(\OC\SystemConfig $systemConfig) { $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();