Ver Fonte

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

Abraham Elmahrek há 12 anos atrás
pai
commit
d0426f5
1 ficheiros alterados com 1 adições e 0 exclusões
  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;