Bug 24497: Turn off smartIndent for SQL

Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Lucas Gass 2020-01-24 18:18:33 +00:00 committed by Martin Renvoize
parent bebb0eaf2f
commit aad0802f82
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 2 additions and 1 deletions

View File

@ -1135,7 +1135,8 @@ canned reports and writing custom SQL reports.</p>
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