From aad0802f825d7767ce2b103ecbf34419cfa77fc7 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 --- .../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.4.GIT