mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
jshint
This commit is contained in:
parent
a3b297e582
commit
dd9351b226
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user