Fix posting when navigating to new boards via JSON
This commit is contained in:
parent
90f780fff3
commit
c8514d1029
@ -6206,7 +6206,7 @@
|
||||
}
|
||||
}
|
||||
};
|
||||
QR.req = $.ajax($.id('postForm').parentNode.action, options, extra);
|
||||
QR.req = $.ajax("//sys.4chan.org/" + g.BOARD + "/post", options, extra);
|
||||
QR.req.uploadStartTime = Date.now();
|
||||
QR.req.progress = '...';
|
||||
return QR.status();
|
||||
|
||||
@ -6197,7 +6197,7 @@
|
||||
}
|
||||
}
|
||||
};
|
||||
QR.req = $.ajax($.id('postForm').parentNode.action, options, extra);
|
||||
QR.req = $.ajax("//sys.4chan.org/" + g.BOARD + "/post", options, extra);
|
||||
QR.req.uploadStartTime = Date.now();
|
||||
QR.req.progress = '...';
|
||||
return QR.status();
|
||||
|
||||
@ -570,7 +570,7 @@ QR =
|
||||
QR.req.progress = "#{Math.round e.loaded / e.total * 100}%"
|
||||
QR.status()
|
||||
|
||||
QR.req = $.ajax $.id('postForm').parentNode.action, options, extra
|
||||
QR.req = $.ajax "//sys.4chan.org/#{g.BOARD}/post", options, extra
|
||||
# Starting to upload might take some time.
|
||||
# Provide some feedback that we're starting to submit.
|
||||
QR.req.uploadStartTime = Date.now()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user