]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(files): Adjust ID for skip content buttons 42419/head
authorFerdinand Thiessen <opensource@fthiessen.de>
Thu, 21 Dec 2023 10:34:02 +0000 (11:34 +0100)
committerFerdinand Thiessen <opensource@fthiessen.de>
Thu, 21 Dec 2023 13:56:40 +0000 (14:56 +0100)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
apps/files/lib/Controller/ViewController.php
apps/files/tests/Controller/ViewControllerTest.php

index ca9ac80b9e28b9b2950c8a397620d9fb9eaed873..be5069b7f612dcb511eced333aee220e6fb5c8c1 100644 (file)
@@ -280,7 +280,9 @@ class ViewController extends Controller {
                $this->initialState->provideInitialState('templates', $this->templateManager->listCreators());
 
                $params = [
-                       'fileNotFound' => $fileNotFound ? 1 : 0
+                       'fileNotFound' => $fileNotFound ? 1 : 0,
+                       'id-app-content' => '#app-content-vue',
+                       'id-app-navigation' => '#app-navigation-vue',
                ];
 
                $response = new TemplateResponse(
index 1f8a609106fc27bf1717d13914a6422148f1fa51..8b6fc5a05a949db7204532394bd7c4469912a2b4 100644 (file)
@@ -186,6 +186,8 @@ class ViewControllerTest extends TestCase {
                        'index',
                        [
                                'fileNotFound' => 0,
+                               'id-app-content' => '#app-content-vue',
+                               'id-app-navigation' => '#app-navigation-vue',
                        ]
                );
                $policy = new Http\ContentSecurityPolicy();