summaryrefslogtreecommitdiffstats
path: root/web/react/components/edit_post_modal.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-10-29 08:12:12 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-10-29 08:12:12 -0400
commit63ea5e26913bd0cb7500a35ff20832732e48b7e2 (patch)
tree5f2ff6806a769840e77fe23fcf445b9a1d37d6d2 /web/react/components/edit_post_modal.jsx
parentb58251df7bbc02318fe498ffc850d726a61ffdcb (diff)
parentb2cbb956a707ffb6a259488a3efa663a3b436507 (diff)
downloadchat-63ea5e26913bd0cb7500a35ff20832732e48b7e2.tar.gz
chat-63ea5e26913bd0cb7500a35ff20832732e48b7e2.tar.bz2
chat-63ea5e26913bd0cb7500a35ff20832732e48b7e2.zip
Merge pull request #1224 from rgarmsen2295/plt-763
PLT-763 Fixed issue with refocusing not working after editing a post in the RHS
Diffstat (limited to 'web/react/components/edit_post_modal.jsx')
-rw-r--r--web/react/components/edit_post_modal.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/edit_post_modal.jsx b/web/react/components/edit_post_modal.jsx
index b259b3c18..e5bede026 100644
--- a/web/react/components/edit_post_modal.jsx
+++ b/web/react/components/edit_post_modal.jsx
@@ -84,7 +84,7 @@ export default class EditPostModal extends React.Component {
if (!button) {
return;
}
- self.setState({editText: $(button).attr('data-message'), title: $(button).attr('data-title'), channel_id: $(button).attr('data-channelid'), post_id: $(button).attr('data-postid'), comments: $(button).attr('data-comments'), refocusId: $(button).attr('data-refoucsid')});
+ self.setState({editText: $(button).attr('data-message'), title: $(button).attr('data-title'), channel_id: $(button).attr('data-channelid'), post_id: $(button).attr('data-postid'), comments: $(button).attr('data-comments'), refocusId: $(button).attr('data-refocusid')});
});
$(ReactDOM.findDOMNode(this.refs.modal)).on('shown.bs.modal', function onShown() {