From b0cf6b256ff669454939252b94b0a1ac9ff53ad3 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 23 Apr 2013 15:36:36 -0400 Subject: [PATCH] fixes #179 - IE10 New Collection Refresh --- dashboard-ui/scripts/site.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 5c8fb4c44a..5d00752ff7 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -16,6 +16,15 @@ } }); +if ($.browser.msie) { + + // This is unfortuantely required due to IE's over-aggressive caching. + // https://github.com/MediaBrowser/MediaBrowser/issues/179 + $.ajaxSetup({ + cache: false + }); +} + $.support.cors = true; $(document).one('click', WebNotifications.requestPermission);