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:
parent
bd52d0f7b0
commit
5fda985781
|
@ -22,7 +22,7 @@ $(function() {
|
||||||
"use strict";
|
"use strict";
|
||||||
$("table#services.datatable").on("update", function () {
|
$("table#services.datatable").on("update", function () {
|
||||||
// If every component has finished installing (with error or success): reloads the page.
|
// 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 ($rowsToUpdate.length === 0) {
|
||||||
if (reloadCalled === false) {
|
if (reloadCalled === false) {
|
||||||
reloadCalled = true;
|
reloadCalled = true;
|
||||||
|
@ -84,7 +84,7 @@ $(function() {
|
||||||
|
|
||||||
function getRowStatus($row) {
|
function getRowStatus($row) {
|
||||||
"use strict";
|
"use strict";
|
||||||
if ($row.hasClass('status_unknown')) {
|
if ($row.hasClass('warning')) {
|
||||||
return "in process";
|
return "in process";
|
||||||
} else {
|
} else {
|
||||||
return $row.attr("status");
|
return $row.attr("status");
|
||||||
|
|
Loading…
Reference in New Issue