Add error dialog for too many devices
This commit is contained in:
parent
f126e3b21b
commit
3dd8056487
5 changed files with 12 additions and 2 deletions
|
@ -83,7 +83,8 @@
|
|||
window.close();
|
||||
}).catch(function(e) {
|
||||
if (e.name === 'HTTPError' && e.message == 411) {
|
||||
return; // TODO: too many devices
|
||||
$('.progress-dialog').hide();
|
||||
$('.error-dialog').show();
|
||||
}
|
||||
else {
|
||||
throw e;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue