浏览代码

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

Abraham Elmahrek 12 年之前
父节点
当前提交
d0426f5
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;