1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00
This commit is contained in:
Akita Noek 2016-06-09 12:25:39 -04:00
parent a3b297e582
commit dd9351b226

View File

@ -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.