From 1559c69ddf0cb9ca36dccdd3b559971db5382b02 Mon Sep 17 00:00:00 2001 From: wmwragg Date: Sun, 17 Jul 2016 21:21:27 +0100 Subject: [PATCH 1/2] Create room Dialog Spinner fix. --- src/createRoom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/createRoom.js b/src/createRoom.js index 658561e78a..c00eca0486 100644 --- a/src/createRoom.js +++ b/src/createRoom.js @@ -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(); From a385955c6be8b6d33a90ef9ada37fe169979ad2a Mon Sep 17 00:00:00 2001 From: wmwragg Date: Sun, 17 Jul 2016 21:23:52 +0100 Subject: [PATCH 2/2] Fixed MatrixChat Dialog Spinner. Still needs testing, unsure what triggers it. --- src/components/structures/MatrixChat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index dcaa82fc75..dc9ca08e94 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -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();