Browse Source

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

Abraham Elmahrek 12 năm trước cách đây
mục cha
commit
d0426f50bb
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;