Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/search/QuickOpen.js
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,9 @@ define(function (require, exports, module) {
}
}, 0);

_curDialog = null;

$("input#quickOpenSearch").removeData("smart-autocomplete");
$(".smart_autocomplete_container").remove();

$(window.document).off("mousedown", this._handleDocumentMouseDown);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,8 @@
}
});

// Brackets monkeypatch: don't bind leaky handlers to document. Brackets can detect lost focus itself.
/*
//check for loosing focus on smart complete field and results container
//$(this).blur(function(ev){
$(document).bind("focusin click", function(ev){
Expand All @@ -505,6 +507,7 @@
$(options.context).trigger("lostFocus");
}
});
*/

// Brackets monkeypatch: don't trigger item focus/unfocus events on mouseenter/mouseleave, since we don't
// want to select an item just by mousing over it. We just want an ordinary hover highlight, which we apply
Expand Down