From 9623de5c9b22884f60620add309748c8dd76ac7d Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 24 Jan 2020 18:18:33 +0000 Subject: [PATCH] Bug 24497: Turn off smartIndent for SQL Signed-off-by: Christopher Brannon Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson (cherry picked from commit c9f03be65ad5da374ce453e5bdedc65bcfdcaab3) Signed-off-by: Lucas Gass (cherry picked from commit 527196aa8845f4da38a66bd4a1ec78721901dea5) Signed-off-by: Hayley Mapley --- .../prog/en/modules/reports/guided_reports_start.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index df3667aff1..3d5afd03ed 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -1004,7 +1004,8 @@ canned reports and writing custom SQL reports.

var editor = CodeMirror.fromTextArea(sql, { lineNumbers: true, mode: "text/x-sql", - lineWrapping: true + lineWrapping: true, + smartIndent: false }); // https://stackoverflow.com/questions/2086287/how-to-clear-jquery-validation-error-messages#answer-16025232 -- 2.39.5