Business intelligence made simple
Ensure consistency for selected text
Andrew Kanea1e026480dc9
diff --git a/app/views/blazer/queries/_form.html.erb b/app/views/blazer/queries/_form.html.erbindex 224f43c7..030ebe4b 100644--- a/app/views/blazer/queries/_form.html.erb+++ b/app/views/blazer/queries/_form.html.erb@@ -111,7 +111,7 @@if (error_line) {error_line = parseInt(error_line[1], 10);- if (editor.getSelectedText().length > 0) {+ if (editor.getSelectedText().length >= 10) {error_line += editor.getSelectionRange().start.row;}return error_line;