Merge "Upon selection in AddMemberBox, focus the box's text field"

This commit is contained in:
Edwin Kempin
2013-03-04 15:56:25 +00:00
committed by Gerrit Code Review

View File

@@ -72,6 +72,7 @@ public class AddMemberBox extends Composite {
nameTxt.addSelectionHandler(new SelectionHandler<Suggestion>() {
@Override
public void onSelection(SelectionEvent<Suggestion> event) {
nameTxtBox.setFocus(true);
if (submitOnSelection) {
submitOnSelection = false;
doAdd();