summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-11-04 22:09:57 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-11-04 22:37:26 +0500
commitc58c4cde4444259478727d93b5521142ffb18595 (patch)
tree800163f2f7702dd2a1414467ca87cb6379eef79c
parent2cf2b9b2a64554bea3ef2fab6919cf7c92bd88a4 (diff)
downloadchat-c58c4cde4444259478727d93b5521142ffb18595.tar.gz
chat-c58c4cde4444259478727d93b5521142ffb18595.tar.bz2
chat-c58c4cde4444259478727d93b5521142ffb18595.zip
Binding handleShown to constructor
-rw-r--r--web/react/components/edit_channel_modal.jsx1
-rw-r--r--web/react/components/rename_channel_modal.jsx1
2 files changed, 2 insertions, 0 deletions
diff --git a/web/react/components/edit_channel_modal.jsx b/web/react/components/edit_channel_modal.jsx
index 58f2cdbed..2557a55ca 100644
--- a/web/react/components/edit_channel_modal.jsx
+++ b/web/react/components/edit_channel_modal.jsx
@@ -12,6 +12,7 @@ export default class EditChannelModal extends React.Component {
this.handleUserInput = this.handleUserInput.bind(this);
this.handleClose = this.handleClose.bind(this);
this.onShow = this.onShow.bind(this);
+ this.handleShown = this.handleShown.bind(this);
this.state = {
header: '',
diff --git a/web/react/components/rename_channel_modal.jsx b/web/react/components/rename_channel_modal.jsx
index f355ea9b2..9fb3af035 100644
--- a/web/react/components/rename_channel_modal.jsx
+++ b/web/react/components/rename_channel_modal.jsx
@@ -16,6 +16,7 @@ export default class RenameChannelModal extends React.Component {
this.displayNameKeyUp = this.displayNameKeyUp.bind(this);
this.handleClose = this.handleClose.bind(this);
this.handleShow = this.handleShow.bind(this);
+ this.handleShown = this.handleShown.bind(this);
this.handleSubmit = this.handleSubmit.bind(this);
this.state = {