mirror of https://github.com/vector-im/riot-web
More comments
parent
e5a5ca9efc
commit
5ae7d5e4b2
|
@ -141,7 +141,9 @@ export default React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
_requestCallback: function(auth, background) {
|
_requestCallback: function(auth, background) {
|
||||||
// only set the busy flag if this is a non-background request
|
// only set the busy flag if this is a non-background request,
|
||||||
|
// otherwise, the user initiated a request, so make the busy
|
||||||
|
// spinner appear and clear and existing error messages.
|
||||||
if (!background) {
|
if (!background) {
|
||||||
this.setState({
|
this.setState({
|
||||||
busy: true,
|
busy: true,
|
||||||
|
|
Loading…
Reference in New Issue