Browse Source
fix(files): Adjust ID for skip content buttons
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/42419/head
Ferdinand Thiessen
2 years ago
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
2 changed files with
5 additions and
1 deletions
-
apps/files/lib/Controller/ViewController.php
-
apps/files/tests/Controller/ViewControllerTest.php
|
|
@ -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( |
|
|
|
|
|
@ -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(); |
|
|
|