summaryrefslogtreecommitdiffstats
path: root/web/react/utils/client.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-06-30 20:40:27 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-07-02 17:13:00 -0700
commit5a597c96061712e1a08ddec2c15129ba2ed9e4f3 (patch)
treeb44b136b4b0c5836771a25d2a75d30ec021eb892 /web/react/utils/client.jsx
parent3a8059e477d7b1c9c628a1cbc50c17db5d4a21f4 (diff)
downloadchat-5a597c96061712e1a08ddec2c15129ba2ed9e4f3.tar.gz
chat-5a597c96061712e1a08ddec2c15129ba2ed9e4f3.tar.bz2
chat-5a597c96061712e1a08ddec2c15129ba2ed9e4f3.zip
Added line that disables caching with a ajax client call that was causing errors to be thrown in IE10
Diffstat (limited to 'web/react/utils/client.jsx')
-rw-r--r--web/react/utils/client.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/utils/client.jsx b/web/react/utils/client.jsx
index 15b6ace91..a43e4eec5 100644
--- a/web/react/utils/client.jsx
+++ b/web/react/utils/client.jsx
@@ -280,6 +280,7 @@ module.exports.getMeSynchronous = function(success, error) {
url: "/api/v1/users/me",
dataType: 'json',
contentType: 'application/json',
+ cache: false,
type: 'GET',
success: function(data, textStatus, xhr) {
current_user = data;