summaryrefslogtreecommitdiffstats
path: root/app/configuration/controllers/network-controller.html
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-05-02 21:50:56 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-05-25 10:00:35 -0500
commit9a0094dc45518e73135b5b31a1eb1d5e5707ff6e (patch)
tree054d1d9a3010c862c2a981a3513db8fafe731fbe /app/configuration/controllers/network-controller.html
parent7ddc7274a98f518772efa96b93e9b331d7a61117 (diff)
downloadphosphor-webui-9a0094dc45518e73135b5b31a1eb1d5e5707ff6e.tar.gz
phosphor-webui-9a0094dc45518e73135b5b31a1eb1d5e5707ff6e.zip
Reload the page on a Cancel
When the Cancel button is hit on the network settings page, reload the page, refreshing the network settings. Change-Id: Icc3d51e9b319bd70f7c7ab5b911b17728b5273b4 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'app/configuration/controllers/network-controller.html')
-rw-r--r--app/configuration/controllers/network-controller.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/configuration/controllers/network-controller.html b/app/configuration/controllers/network-controller.html
index 6c494d0..343ec4e 100644
--- a/app/configuration/controllers/network-controller.html
+++ b/app/configuration/controllers/network-controller.html
@@ -82,7 +82,7 @@
</fieldset>
<div class="network-config__submit-wrapper">
<button type="button" class="btn-primary inline" ng-click="setNetworkSettings()">Save settings</button>
- <button type="button" class="btn-secondary inline">Cancel</button>
+ <button type="button" class="btn-secondary inline" ng-click="refresh()">Cancel</button>
</div>
<p class="success-msg set_network_success" ng-show="set_network_success" role="alert">Success! Network settings changed!</p>
<p class="set_network_error error-msg" ng-show="set_network_error" role="alert">Error setting {{set_network_error}}!</p>
OpenPOWER on IntegriCloud