Fix: verify if jnotify plugin is active
This commit is contained in:
parent
e2421c6cb1
commit
ab8d73226b
1 changed files with 3 additions and 1 deletions
|
|
@ -112,7 +112,9 @@ llxHeader();
|
|||
});
|
||||
$( "div.paypal_link" ).click(function() {
|
||||
var id_value = $(this).attr("id");
|
||||
$.jnotify("<?php echo $langs->trans('PleaseBePatient'); ?>", 2000);
|
||||
if ($.jnotify) {
|
||||
$.jnotify("<?php echo $langs->trans('PleaseBePatient'); ?>", 2000);
|
||||
}
|
||||
$.get( "<?php echo DOL_URL_ROOT; ?>/paypal/ajaxtransactiondetails.php", {
|
||||
transaction_id: id_value
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue