From 092f4ebd9dc9ef3ba225ea9410e777fa697a7013 Mon Sep 17 00:00:00 2001 From: "Buster \"Silver Eagle\" Neece" Date: Wed, 20 Jan 2021 14:05:19 -0600 Subject: [PATCH] Disable spellcheck on Edit Liquidsoap Config fields. --- .../Stations/EditLiquidsoapConfigController.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/Controller/Stations/EditLiquidsoapConfigController.php b/src/Controller/Stations/EditLiquidsoapConfigController.php index 60ee53628..c44651647 100644 --- a/src/Controller/Stations/EditLiquidsoapConfigController.php +++ b/src/Controller/Stations/EditLiquidsoapConfigController.php @@ -81,6 +81,7 @@ class EditLiquidsoapConfigController [ 'belongsTo' => 'backend_config', 'class' => 'text-preformatted', + 'spellcheck' => 'false', ], ]; } else { @@ -114,10 +115,14 @@ class EditLiquidsoapConfigController return $response->withRedirect($request->getUri()->getPath()); } - return $request->getView()->renderToResponse($response, 'system/form_page', [ - 'form' => $form, - 'render_mode' => 'edit', - 'title' => __('Edit Liquidsoap Configuration'), - ]); + return $request->getView()->renderToResponse( + $response, + 'system/form_page', + [ + 'form' => $form, + 'render_mode' => 'edit', + 'title' => __('Edit Liquidsoap Configuration'), + ] + ); } }