Merge pull request #350 from matrix-org/wmwragg/spinner-fix

Wmwragg/spinner fix
pull/21833/head
Matthew Hodgson 2016-07-19 12:10:31 +01:00 committed by GitHub
commit 1ba0ef7369
2 changed files with 2 additions and 2 deletions

View File

@ -390,7 +390,7 @@ module.exports = React.createClass({
// FIXME: controller shouldn't be loading a view :(
var Loader = sdk.getComponent("elements.Spinner");
var modal = Modal.createDialog(Loader);
var modal = Modal.createDialog(Loader, null, 'mx_Dialog_spinner');
d.then(function() {
modal.close();

View File

@ -64,7 +64,7 @@ function createRoom(opts) {
}
];
var modal = Modal.createDialog(Loader);
var modal = Modal.createDialog(Loader, null, 'mx_Dialog_spinner');
return client.createRoom(createOpts).finally(function() {
modal.close();