authPrompt: don't spin unless answering question

This commit is contained in:
Ray Strode 2015-09-30 14:36:33 -04:00
parent 65229b6299
commit 31612927b2

View File

@ -66,8 +66,8 @@ var AuthPrompt = new Lang.Class({
this.connect('next', () => {
this.updateSensitivity(false);
this.startSpinning();
if (this._queryingService) {
this.startSpinning();
this._userVerifier.answerQuery(this._queryingService, this._entry.text);
} else {
this._preemptiveAnswer = this._entry.text;