From 8a7e1b6dff9e0a7a01ed06870c5a8520500d20af Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Thu, 26 May 2016 09:47:41 -0400
Subject: PLT-2886 Added name properties to all radio buttons (#3112)

* Removed unused, deprecated system console page

* Added name properties to all radio buttons

* Removed unused english strings from admin console
---
 webapp/components/user_settings/user_settings_display.jsx | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'webapp/components/user_settings/user_settings_display.jsx')

diff --git a/webapp/components/user_settings/user_settings_display.jsx b/webapp/components/user_settings/user_settings_display.jsx
index fa0118d1e..16175d4de 100644
--- a/webapp/components/user_settings/user_settings_display.jsx
+++ b/webapp/components/user_settings/user_settings_display.jsx
@@ -146,6 +146,7 @@ export default class UserSettingsDisplay extends React.Component {
                         <label>
                             <input
                                 type='radio'
+                                name='clockFormat'
                                 checked={clockFormat[0]}
                                 onChange={this.handleClockRadio.bind(this, 'false')}
                             />
@@ -160,6 +161,7 @@ export default class UserSettingsDisplay extends React.Component {
                         <label>
                             <input
                                 type='radio'
+                                name='clockFormat'
                                 checked={clockFormat[1]}
                                 onChange={this.handleClockRadio.bind(this, 'true')}
                             />
@@ -264,6 +266,7 @@ export default class UserSettingsDisplay extends React.Component {
                         <label>
                             <input
                                 type='radio'
+                                name='nameFormat'
                                 checked={nameFormat[1]}
                                 onChange={this.handleNameRadio.bind(this, 'username')}
                             />
@@ -275,6 +278,7 @@ export default class UserSettingsDisplay extends React.Component {
                         <label>
                             <input
                                 type='radio'
+                                name='nameFormat'
                                 checked={nameFormat[0]}
                                 onChange={this.handleNameRadio.bind(this, 'nickname_full_name')}
                             />
@@ -286,6 +290,7 @@ export default class UserSettingsDisplay extends React.Component {
                         <label>
                             <input
                                 type='radio'
+                                name='nameFormat'
                                 checked={nameFormat[2]}
                                 onChange={this.handleNameRadio.bind(this, 'full_name')}
                             />
@@ -375,6 +380,7 @@ export default class UserSettingsDisplay extends React.Component {
                         <label>
                             <input
                                 type='radio'
+                                name='messageDisplay'
                                 checked={messageDisplay[0]}
                                 onChange={this.handlemessageDisplayRadio.bind(this, Preferences.MESSAGE_DISPLAY_CLEAN)}
                             />
@@ -389,6 +395,7 @@ export default class UserSettingsDisplay extends React.Component {
                         <label>
                             <input
                                 type='radio'
+                                name='messageDisplay'
                                 checked={messageDisplay[1]}
                                 onChange={this.handlemessageDisplayRadio.bind(this, Preferences.MESSAGE_DISPLAY_COMPACT)}
                             />
@@ -474,6 +481,7 @@ export default class UserSettingsDisplay extends React.Component {
                         <label>
                             <input
                                 type='radio'
+                                name='channelDisplayMode'
                                 checked={channelDisplayMode[0]}
                                 onChange={this.handleChannelDisplayModeRadio.bind(this, Preferences.CHANNEL_DISPLAY_MODE_CENTERED)}
                             />
@@ -488,6 +496,7 @@ export default class UserSettingsDisplay extends React.Component {
                         <label>
                             <input
                                 type='radio'
+                                name='channelDisplayMode'
                                 checked={channelDisplayMode[1]}
                                 onChange={this.handleChannelDisplayModeRadio.bind(this, Preferences.CHANNEL_DISPLAY_MODE_FULL_SCREEN)}
                             />
-- 
cgit v1.2.3-1-g7c22

