Skip to content

Business intelligence made simple

Prevent Ace from taking over find command

Andrew Kane79adecf07db9
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fed16ea9..cc3f6016 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.7.2 [unreleased]
+
+- Prevent Ace from taking over find command
+
## 1.7.1
- Do not fork when enter key pressed
diff --git a/app/assets/javascripts/blazer/application.js b/app/assets/javascripts/blazer/application.js
index 41b4dca9..8477434a 100644
--- a/app/assets/javascripts/blazer/application.js
+++ b/app/assets/javascripts/blazer/application.js
@@ -301,7 +301,7 @@ function showEditor() {
readOnly: false // false if this command should not apply in readOnly mode
});
// fix command+L
- editor.commands.removeCommands(["gotoline"]);
+ editor.commands.removeCommands(["gotoline", "find"]);
editor.getSession().on("change", function () {
$("#query_statement").val(editor.getValue());