Allow user to modify hostname in overview page
Testing: Verified edit button correctly updates hostname on BMC and
it is correctly refreshed in the web interface.
Resolves openbmc/openbmc#3104
Change-Id: I28eb6366bde7c01b84d2fab54317aaf69ec2dba8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/overview/controllers/system-overview-controller.html b/app/overview/controllers/system-overview-controller.html
index 7f26f44..7ee62cf 100644
--- a/app/overview/controllers/system-overview-controller.html
+++ b/app/overview/controllers/system-overview-controller.html
@@ -175,7 +175,7 @@
</div>
<div class="modal__button-wrapper">
<button class="inline btn-secondary" ng-click="edit_server_name= false;">Cancel</button>
- <button class="inline btn-primary" ng-click="">Save</button>
+ <button class="inline btn-primary" ng-click="saveHostname(char_count);">Save</button>
</div>
</div>
</section>