From 723002aeaf1ad9a5086a984575a263327293db6a 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 --- .../intranet-tmpl/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.11.0