mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 22:37:41 -02:30
jshint
This commit is contained in:
@@ -346,7 +346,7 @@ export default
|
|||||||
.error(function(obj, status) {
|
.error(function(obj, status) {
|
||||||
Wait('stop');
|
Wait('stop');
|
||||||
$('#prompt-modal').modal('hide');
|
$('#prompt-modal').modal('hide');
|
||||||
if (status == 403) {
|
if (status === 403) {
|
||||||
Alert('Error', obj.detail);
|
Alert('Error', obj.detail);
|
||||||
}
|
}
|
||||||
// Ignore the error. The job most likely already finished.
|
// Ignore the error. The job most likely already finished.
|
||||||
@@ -367,7 +367,7 @@ export default
|
|||||||
.error(function (obj, status) {
|
.error(function (obj, status) {
|
||||||
Wait('stop');
|
Wait('stop');
|
||||||
$('#prompt-modal').modal('hide');
|
$('#prompt-modal').modal('hide');
|
||||||
if (status == 403) {
|
if (status === 403) {
|
||||||
Alert('Error', obj.detail);
|
Alert('Error', obj.detail);
|
||||||
}
|
}
|
||||||
// Ignore the error. The job most likely already finished.
|
// Ignore the error. The job most likely already finished.
|
||||||
|
|||||||
Reference in New Issue
Block a user