in src/main/java/com/googlesource/gerrit/plugins/emoticons/client/EmoticonsConfigScreen.java [82:99]
private void doSave() {
ConfigInfo in = ConfigInfo.create();
in.setShowEmoticons(showEmoticonsBox.getValue());
restApi.put(
in,
new AsyncCallback<JavaScriptObject>() {
@Override
public void onSuccess(JavaScriptObject result) {
saveButton.setEnabled(false);
onSave();
}
@Override
public void onFailure(Throwable caught) {
// never invoked
}
});
}