mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Update SSL Certificate action - change UI to show error text (English, non-localized) instead of error code(530, 531) when API call returns error.
This commit is contained in:
parent
592cfc6b73
commit
144c6fcf2d
@ -1610,7 +1610,8 @@ function initUpdateConsoleCertButton($midMenuAddLink2) {
|
|||||||
$thisDialog.dialog("close");
|
$thisDialog.dialog("close");
|
||||||
// TODO: Add a confirmation message
|
// TODO: Add a confirmation message
|
||||||
} else if (result.jobstatus == 2) { // Failed
|
} else if (result.jobstatus == 2) { // Failed
|
||||||
var errorMsg = result.jobresult.errortext;
|
//var errorMsg = result.jobresult.errortext;
|
||||||
|
var errorMsg = g_dictionary["label.failed"] + " - " + fromdb(result.jobresult.errortext);
|
||||||
$thisDialog.find("#info_container").text(errorMsg).show();
|
$thisDialog.find("#info_container").text(errorMsg).show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user