Revert "Treat the search box oracle as a remote oracle"
This change broke suggestion feature in search box: [1].
This reverts commit 2ace2d14e9
.
[1] https://groups.google.com/d/topic/repo-discuss/9gcG8vb2oDM/discussion
Change-Id: I8659595d477b623984ff3a9ac8a1f944f1cff5bf
This commit is contained in:
parent
c8a4fc0503
commit
d6f7d2de81
@ -16,7 +16,6 @@ package com.google.gerrit.client;
|
||||
|
||||
import com.google.gerrit.client.changes.QueryScreen;
|
||||
import com.google.gerrit.client.ui.HintTextBox;
|
||||
import com.google.gerrit.client.ui.RemoteSuggestOracle;
|
||||
import com.google.gerrit.common.PageLinks;
|
||||
import com.google.gerrit.reviewdb.client.Change;
|
||||
import com.google.gwt.event.dom.client.ClickEvent;
|
||||
@ -55,9 +54,8 @@ class SearchPanel extends Composite {
|
||||
}
|
||||
});
|
||||
|
||||
final SuggestBox suggestBox = new SuggestBox(
|
||||
new RemoteSuggestOracle(new SearchSuggestOracle()),
|
||||
searchBox, suggestionDisplay);
|
||||
final SuggestBox suggestBox =
|
||||
new SuggestBox(new SearchSuggestOracle(), searchBox, suggestionDisplay);
|
||||
searchBox.setStyleName("gwt-TextBox");
|
||||
searchBox.setVisibleLength(70);
|
||||
searchBox.setHintText(Gerrit.C.searchHint());
|
||||
|
Loading…
Reference in New Issue
Block a user