Dismiss the QR abort notification after 5 seconds. #932

This commit is contained in:
Nicolas Stepien 2013-02-26 04:22:11 +01:00
parent 345263320a
commit 1ef4e2db9f
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}

View File

@ -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()