From 06dded947451d3c428990e2a1a6d15d3e7617fdc Mon Sep 17 00:00:00 2001 From: Marcus Whybrow Date: Fri, 16 Nov 2012 02:21:33 +0000 Subject: [PATCH] Add cross domain origin sending support --- assets/js/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/js/index.js b/assets/js/index.js index efd163e..0e1bf6a 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -86,6 +86,9 @@ $(function() { url: url + "&page=" + page, dataType: 'json', async: false, + xhrFields: { + withCredentials: true, + }, success: function(data) { if (data.length == 100) { output = getAllPages(url, output.concat(data), page + 1);