summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_info.jsx
diff options
context:
space:
mode:
authornickago <ngonella@calpoly.edu>2015-08-21 09:45:48 -0700
committernickago <ngonella@calpoly.edu>2015-08-21 09:45:48 -0700
commit794881ce244cbba9ae90e666db29cb99a6d84d45 (patch)
treed70716fae0290433f26a4c8d69d74ae57d12d15c /web/react/components/post_info.jsx
parentddcdcc3e2c85efbfd1d91d69c0f5c0af7c7cb1c7 (diff)
downloadchat-794881ce244cbba9ae90e666db29cb99a6d84d45.tar.gz
chat-794881ce244cbba9ae90e666db29cb99a6d84d45.tar.bz2
chat-794881ce244cbba9ae90e666db29cb99a6d84d45.zip
Upon exiting edit post modal, foucs is placed on the respective text input field
Diffstat (limited to 'web/react/components/post_info.jsx')
-rw-r--r--web/react/components/post_info.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/components/post_info.jsx b/web/react/components/post_info.jsx
index c96a04c7c..73e897f62 100644
--- a/web/react/components/post_info.jsx
+++ b/web/react/components/post_info.jsx
@@ -49,6 +49,7 @@ export default class PostInfo extends React.Component {
role='menuitem'
data-toggle='modal'
data-target='#edit_post'
+ data-refoucsid="#post_textbox"
data-title={type}
data-message={post.message}
data-postid={post.id}