From 5fda9857819606d204f8c7e3e5a2f9ebf1b6562b Mon Sep 17 00:00:00 2001 From: Valerii Kovalchuk Date: Thu, 15 Sep 2016 14:11:13 +0300 Subject: [PATCH] Replace table row 'status_unknown' class with 'warning' class Change is introduced in horizon by patch I3472244fcbbd121a8de48d78084554760dab6385 Change-Id: Ic5a09c842dfed50515b0f9e578b443754660ca4b Closes-bug: #1623894 --- muranodashboard/static/muranodashboard/js/murano.tables.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/muranodashboard/static/muranodashboard/js/murano.tables.js b/muranodashboard/static/muranodashboard/js/murano.tables.js index 9c40d8dd3..4abf2dbe0 100644 --- a/muranodashboard/static/muranodashboard/js/murano.tables.js +++ b/muranodashboard/static/muranodashboard/js/murano.tables.js @@ -22,7 +22,7 @@ $(function() { "use strict"; $("table#services.datatable").on("update", function () { // If every component has finished installing (with error or success): reloads the page. - var $rowsToUpdate = $(this).find('tr.status_unknown.ajax-update'); + var $rowsToUpdate = $(this).find('tr.warning.ajax-update'); if ($rowsToUpdate.length === 0) { if (reloadCalled === false) { reloadCalled = true; @@ -84,7 +84,7 @@ $(function() { function getRowStatus($row) { "use strict"; - if ($row.hasClass('status_unknown')) { + if ($row.hasClass('warning')) { return "in process"; } else { return $row.attr("status");