Don't start re-uploading again when we want it to stop.

This has bothered me so much.
This commit is contained in:
Nicolas Stepien 2013-02-23 04:17:37 +01:00
parent 933a861998
commit 3ccc6bbe3f
3 changed files with 9 additions and 2 deletions

View File

@ -6319,7 +6319,10 @@
QR.status();
return;
}
QR.abort();
if (QR.ajax) {
QR.abort();
return;
}
reply = QR.replies[0];
if (g.BOARD.ID === 'f' && g.VIEW === 'index') {
filetag = QR.threadSelector.value;

View File

@ -11,6 +11,7 @@ beta
Can be auto-hidden.
QR changes:
Clicking the submit button while uploading will abort the upload and won't start re-uploading automatically anymore.
Creating threads outside of the index is now possible.
Selection-to-quote also applies to selected text inside the post, not just inside the comment.
Quoting the OP will not insert the >>opnumber anymore unless the QR was already opened.

View File

@ -626,7 +626,10 @@ QR =
QR.cooldown.auto = !QR.cooldown.auto
QR.status()
return
QR.abort()
if QR.ajax
QR.abort()
return
reply = QR.replies[0]
if g.BOARD.ID is 'f' and g.VIEW is 'index'