Merge pull request #17641 from nextcloud/backport/17578/stable16

[stable16] [stable17] Load additional scripts on help page
This commit is contained in:
Roeland Jago Douma 2019-10-22 20:18:32 +02:00 committed by GitHub
commit d5aaf66479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -28,7 +28,10 @@
* *
*/ */
use OCP\AppFramework\Http\TemplateResponse;
OC_Util::checkLoggedIn(); OC_Util::checkLoggedIn();
\OC::$server->getEventDispatcher()->dispatch(TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS_LOGGEDIN);
// Load the files we need // Load the files we need
OC_Util::addStyle( "settings", "settings" ); OC_Util::addStyle( "settings", "settings" );