Dismiss the QR abort notification after 5 seconds. #932
This commit is contained in:
parent
345263320a
commit
1ef4e2db9f
@ -6703,7 +6703,7 @@
|
||||
if (QR.ajax) {
|
||||
QR.ajax.abort();
|
||||
delete QR.ajax;
|
||||
QR.error('QR upload aborted.');
|
||||
QR.notifications.push(new Notification('info', 'QR upload aborted.', 5));
|
||||
}
|
||||
return QR.status();
|
||||
}
|
||||
|
||||
@ -919,5 +919,5 @@ QR =
|
||||
if QR.ajax
|
||||
QR.ajax.abort()
|
||||
delete QR.ajax
|
||||
QR.error 'QR upload aborted.'
|
||||
QR.notifications.push new Notification 'info', 'QR upload aborted.', 5
|
||||
QR.status()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user