Merge pull request #1284 from pthulin/searchbox-issues

Fix bug with searchbox keyboard handler
This commit is contained in:
Harutyun Amirjanyan 2013-03-06 22:46:25 -08:00
commit 1e243855a7

View file

@ -177,7 +177,7 @@ var SearchBox = function(editor, range, showReplaceForm) {
this.hide = function () { this.hide = function () {
this.element.style.display = "none"; this.element.style.display = "none";
this.editor.keyBinding.removeKeyboardHandler(this.$searchKeybingin); this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb);
this.editor.focus(); this.editor.focus();
}; };
this.show = function(value, isReplace) { this.show = function(value, isReplace) {