From 0a9fd2dc7e89047586df735baf6a1d81354b8f18 Mon Sep 17 00:00:00 2001 From: Asier Bilbao Date: Sun, 18 Sep 2016 15:51:55 +0200 Subject: [PATCH] Fix Syntax error, unrecognized expression: input.remain] Fix ``` jquery.min.js?version=4.0.0:2 Uncaught Error: Syntax error, unrecognized expression: input.remain] ``` --- htdocs/compta/paiement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index c11b2c815bc..4b0039c0a21 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -394,7 +394,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie json["invoice_type"] = $("#invoice_type").val(); json["amountPayment"] = $("#amountpayment").attr("value"); json["amounts"] = _elemToJson(form.find("input.amount")); - json["remains"] = _elemToJson(form.find("input.remain]")); + json["remains"] = _elemToJson(form.find("input.remain")); if (imgId != null) { json["imgClicked"] = imgId;