Don't redirect to a login page when responding to json messages.

Also update tests to actually check all our URLs.

(imported from commit 86de2027d140da6118e2f2f60c1c86511b16c141)
This commit is contained in:
Tim Abbott
2012-10-16 16:10:48 -04:00
parent 3e994c16b7
commit a859c10017
3 changed files with 39 additions and 17 deletions

View File

@@ -100,6 +100,7 @@ function submit_buttons() {
function check_stream_for_send(stream_name) {
var okay = true;
$.ajax({
type: "POST",
url: "/json/subscriptions/exists/" + stream_name,
async: false,
success: function (data) {