) {
                        return status == 202;
                    }
                }).then(function(response){
                    KTApp.hidePageLoading();
                    ModalAlert.fire({
                        text: $.t("rules.run_ok"),
                        icon: "success",
                        confirmButtonText: $.t('general.ok'),
                        customClass: {
                            confirmButton: "btn btn-primary"
                        }
                    });
         