From c9f03be65ad5da374ce453e5bdedc65bcfdcaab3 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 --- .../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 37ea33a66b..d998265b36 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 @@ -1135,7 +1135,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