Skip to content
Snippets Groups Projects
Commit ab8d7322 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: verify if jnotify plugin is active

parent e2421c6c
No related branches found
No related tags found
No related merge requests found
......@@ -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
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment