Replace table row 'status_unknown' class with 'warning' class

Change is introduced in horizon by patch
I3472244fcbbd121a8de48d78084554760dab6385

Change-Id: Ic5a09c842dfed50515b0f9e578b443754660ca4b
Closes-bug: #1623894
This commit is contained in:
Valerii Kovalchuk 2016-09-15 14:11:13 +03:00
parent bd52d0f7b0
commit 5fda985781
1 changed files with 2 additions and 2 deletions

View File

@ -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");