Fixed issue with refocusing not working after editing a post in the RHS

Этот коммит содержится в:
Reed Garmsen
2015-10-28 16:11:40 -07:00
родитель 5c03f3aad8
Коммит b2cbb956a7
4 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@@ -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() {