|
|
@@ -34,7 +34,7 @@ $ ->
|
34
|
34
|
$("#event-indicator").tooltip('destroy').fadeOut()
|
35
|
35
|
|
36
|
36
|
currentJobs = [json.pending, json.awaiting_retry, json.recent_failures]
|
37
|
|
- if document.location.pathname == '/jobs' && previousJobs? && previousJobs.join(',') != currentJobs.join(',')
|
|
37
|
+ if document.location.pathname == '/jobs' && $(".modal[aria-hidden=false]").length == 0 && previousJobs? && previousJobs.join(',') != currentJobs.join(',')
|
38
|
38
|
$.get '/jobs', (data) =>
|
39
|
39
|
$("#main-content").html(data)
|
40
|
40
|
previousJobs = currentJobs
|