Browse Source

HUE-7029 [jb] Switching between log types should reset the log content before loading the new one

Enrico Berti 8 năm trước cách đây
mục cha
commit
249d566b09
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      apps/jobbrowser/src/jobbrowser/templates/job_browser.mako

+ 1 - 0
apps/jobbrowser/src/jobbrowser/templates/job_browser.mako

@@ -1837,6 +1837,7 @@ ${ commonheader("Job Browser", "jobbrowser", user, request) | n,unicode }
       };
 
       self.fetchLogs = function (name) {
+        self.logs('');
         $.post("/jobbrowser/api/job/logs", {
           app_id: ko.mapping.toJSON(self.id),
           interface: ko.mapping.toJSON(vm.interface),