This commit is contained in:
Laurent Destailleur 2024-02-10 16:59:09 +01:00
parent c1c7b04cba
commit a104fbe7b3

View File

@ -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 ;
});';