Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 688f05c

Browse files
committed
Merge remote-tracking branch 'origin/master' into pflynn/block-comment-unittests
* origin/master: Forgot to fix up other callers to functions with changed signature
2 parents 0b51f5c + 9738bd7 commit 688f05c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/search/QuickOpen.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ define(function (require, exports, module) {
9393
/**
9494
* Defines API for new QuickOpen plug-ins
9595
*/
96-
function QuickOpenPlugin(name, fileTypes, done, search, match, itemFocus, itemSelect, resultsFormatter) {
96+
function QuickOpenPlugin(name, fileTypes, done, search, match, itemFocus, itemSelect, resultsFormatter) {
9797
this.name = name;
9898
this.fileTypes = fileTypes;
9999
this.done = done;
@@ -332,7 +332,7 @@ define(function (require, exports, module) {
332332
}
333333

334334
if ($(".smart_autocomplete_highlight").length === 0) {
335-
this._handleItemFocus($(".smart_autocomplete_container > li:first-child").get(0));
335+
this._handleItemFocus(null, $(".smart_autocomplete_container > li:first-child").get(0));
336336
}
337337
};
338338

@@ -362,7 +362,7 @@ define(function (require, exports, module) {
362362
this._close();
363363

364364
} else if (e.keyCode === KeyEvent.DOM_VK_RETURN) {
365-
this._handleItemSelect($(".smart_autocomplete_highlight").get(0));
365+
this._handleItemSelect(null, $(".smart_autocomplete_highlight").get(0));
366366
}
367367

368368
}

0 commit comments

Comments
 (0)