Skip to content
Snippets Groups Projects
Commit f6c48c05 authored by neil@parkwaycc.co.uk's avatar neil@parkwaycc.co.uk
Browse files

Fix nsIAutoCompleteController's handleEvent signature change bustage rs=ajschult

parent 5ec954dd
No related branches found
No related tags found
No related merge requests found
......@@ -1295,7 +1295,11 @@
return null; // XXX equivalent to falling off the end?
},
handleEnter: function() {
//////////////////////////////////////////////////////////
// nsIAutoCompleteController interface
// this is the only method required by the treebody mouseup handler
handleEnter: function(aIsPopupSelection) {
this.mTextbox.onResultClick();
},
......@@ -1629,7 +1633,7 @@
var rc = this.parentNode.treeBoxObject.getRowAt(event.clientX, event.clientY);
if (rc != -1) {
this.resultsPopup.selectedIndex = rc;
this.resultsPopup.view.handleEnter();
this.resultsPopup.view.handleEnter(true);
}
]]></handler>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment