diff --git a/htdocs/compta/paiement_charge.php b/htdocs/compta/paiement_charge.php index a76a3cebbfc..d92cbc2035a 100644 --- a/htdocs/compta/paiement_charge.php +++ b/htdocs/compta/paiement_charge.php @@ -160,7 +160,8 @@ if ($action == 'create') { //Add js for AutoFill print ' $(document).ready(function () {'; - print ' $(".AutoFillAmount").on(\'click touchstart\', function(){ + print ' $(".AutoFillAmount").on(\'click touchstart\', function() { + console.log("Click on .AutoFillAmount"); var amount = $(this).data("value"); document.getElementById($(this).data(\'rowid\')).value = amount ; });';