Fix posting when navigating to new boards via JSON

This commit is contained in:
Zixaphir 2014-01-17 16:24:49 -07:00
parent 90f780fff3
commit c8514d1029
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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