Added an overide for the view source so that it behaves correctly with the new Modal. Also tweaked the spinner overide

This commit is contained in:
wmwragg 2016-07-18 10:31:17 +01:00
parent 3cfcc13387
commit 28108476bd
2 changed files with 9 additions and 1 deletions

View file

@ -47,7 +47,7 @@ module.exports = React.createClass({
var ViewSource = sdk.getComponent('structures.ViewSource');
Modal.createDialog(ViewSource, {
mxEvent: this.props.mxEvent
});
}, 'mx_Dialog_viewsource');
if (this.props.onFinished) this.props.onFinished();
},