Browse Source

Fix reply bug introduced when compose form started using normalized data

closed-social-v3
Eugen 8 years ago
committed by GitHub
parent
commit
265215dae9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/assets/javascripts/components/actions/compose.jsx

+ 1
- 1
app/assets/javascripts/components/actions/compose.jsx View File

@ -34,7 +34,7 @@ export function submitCompose() {
api(getState).post('/api/statuses', {
status: getState().getIn(['compose', 'text'], ''),
in_reply_to_id: getState().getIn(['compose', 'in_reply_to', 'id'], null)
in_reply_to_id: getState().getIn(['compose', 'in_reply_to'], null)
}).then(function (response) {
dispatch(submitComposeSuccess(response.data));
}).catch(function (error) {

Loading…
Cancel
Save