Skip to content

Commit

Permalink
fixed a bug in the servcie impl ui page related to saving when there …
Browse files Browse the repository at this point in the history
…are multiple gateways available
  • Loading branch information
EricWittmann committed Dec 19, 2014
1 parent 88073f5 commit 851d478
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -132,6 +132,9 @@ public void onError(Throwable error) {
protected void onGatewaysLoaded(List<GatewaySummaryBean> beans) {
gatewayBeans = beans;
gateway.setOptions(gatewayBeans);
if (beans.size() > 0) {
gateway.selectGatewayById(beans.iterator().next().getId());
}
if (gatewayBeans.size() > 1) {
showGateways();
} else {
Expand Down

0 comments on commit 851d478

Please sign in to comment.