From 9cea031b46f2133d59a9d64d8f463ac2d458bac8 Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Sun, 5 Jul 2015 21:44:53 -0400 Subject: [PATCH] Fix button text for 'Edit Account' modal --- static/accounts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/accounts.js b/static/accounts.js index 46d9bf8..7f6f8fd 100644 --- a/static/accounts.js +++ b/static/accounts.js @@ -129,6 +129,7 @@ const AddEditAccountModal = React.createClass({ }, render: function() { var headerText = (this.props.editAccount != null) ? "Edit" : "Create New"; + var buttonText = (this.props.editAccount != null) ? "Save Changes" : "Create Account"; var rootName = (this.props.editAccount != null) ? "Top-level Account" : "New Top-level Account"; return ( @@ -186,7 +187,7 @@ const AddEditAccountModal = React.createClass({ - +