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) { if (QR.ajax) {
QR.ajax.abort(); QR.ajax.abort();
delete QR.ajax; delete QR.ajax;
QR.error('QR upload aborted.'); QR.notifications.push(new Notification('info', 'QR upload aborted.', 5));
} }
return QR.status(); return QR.status();
} }

View File

@ -919,5 +919,5 @@ QR =
if QR.ajax if QR.ajax
QR.ajax.abort() QR.ajax.abort()
delete QR.ajax delete QR.ajax
QR.error 'QR upload aborted.' QR.notifications.push new Notification 'info', 'QR upload aborted.', 5
QR.status() QR.status()