зеркало из https://github.com/mozilla/FlightDeck.git
Show a warning instead of quitting silently if xpi download attempts reach 50
This commit is contained in:
Родитель
e18c5aa81c
Коммит
c83238e678
|
@ -290,6 +290,11 @@ var FlightDeck = new Class({
|
|||
'Wrong response from Add-on Builder Helper. Please <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=573778">let us know</a>'
|
||||
);
|
||||
}
|
||||
} else if (test_request.request_number > 50) {
|
||||
this.warning.alert(
|
||||
'Add-on Builder',
|
||||
'The add-on was not successfully built (attempts timed out). Please try again.'
|
||||
);
|
||||
}
|
||||
}.bind(this)
|
||||
}).send(this);
|
||||
|
|
Загрузка…
Ссылка в новой задаче