Эх сурвалжийг харах

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

Abraham Elmahrek 12 жил өмнө
parent
commit
d0426f50bb

+ 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;