mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-02-16 14:33:17 +03:00
fix: admin/view/template/extension/module/retailcrm.tpl
This commit is contained in:
parent
0c4d2a577e
commit
707a3a1783
@ -183,7 +183,7 @@
|
|||||||
},
|
},
|
||||||
success: function(data, textStatus, jqXHR) {
|
success: function(data, textStatus, jqXHR) {
|
||||||
if (jqXHR['responseText'] == 'false') {
|
if (jqXHR['responseText'] == 'false') {
|
||||||
$('.alert-success').remove();
|
$('.alert-danger').remove();
|
||||||
$('#content > .container-fluid').prepend('<div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i><?php echo $text_error_order; ?></div>');
|
$('#content > .container-fluid').prepend('<div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i><?php echo $text_error_order; ?></div>');
|
||||||
$('#export_order').button('reset');
|
$('#export_order').button('reset');
|
||||||
} else {
|
} else {
|
||||||
@ -195,7 +195,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
$('.alert-success').remove();
|
$('.alert-danger').remove();
|
||||||
$('#content > .container-fluid').prepend('<div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> <?php echo $text_error_order_id; ?></div>');
|
$('#content > .container-fluid').prepend('<div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> <?php echo $text_error_order_id; ?></div>');
|
||||||
$('#export_order').button('reset');
|
$('#export_order').button('reset');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user