Explorar o código

[beeswax] Make sure IE doesn't cache ajax requests

Abraham Elmahrek %!s(int64=12) %!d(string=hai) anos
pai
achega
d0426f5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      apps/beeswax/src/beeswax/templates/watch_wait.mako

+ 1 - 0
apps/beeswax/src/beeswax/templates/watch_wait.mako

@@ -100,6 +100,7 @@ ${layout.menubar(section='query')}
     var logsAtEnd = true;
 
     function refreshView() {
+      $.ajaxSetup({ cache: false });
       $.getJSON("${url(app_name + ':watch_query_refresh_json', query.id)}", function (data) {
         if (data.isSuccess || data.isFailure) {
           location.href = fwdUrl;