From 0a23df5a98039b22f44ec39003fc18e2654ba2de Mon Sep 17 00:00:00 2001 From: Yuriy Taraday Date: Thu, 29 May 2014 11:46:46 +0400 Subject: [PATCH] Allow Zuul status page to update with periodic tasks present Recent addition of filter by change number breaks and prevents status updating if there is an active task in the queue w/o id field such as periodic tasks are. Change-Id: I51ba1b218abbf22990fc9b94d569f897a4c445c0 --- modules/openstack_project/files/zuul/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/files/zuul/status.js b/modules/openstack_project/files/zuul/status.js index 5ed5eee301..d2191fef9b 100644 --- a/modules/openstack_project/files/zuul/status.js +++ b/modules/openstack_project/files/zuul/status.js @@ -79,7 +79,7 @@ function is_hidden(project, change_id) { $.each(filters, function(filter_i, filter) { if(project.indexOf(filter) != -1) hide = false; - if(change_id.indexOf(filter) != -1) + if(change_id !== null && change_id.indexOf(filter) != -1) hide = false; }); return hide;