From e8a5274cdf85c0523abb0c618bdd40c2dd92d502 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 25 Feb 2021 13:55:15 +0000 Subject: [PATCH] Bug 27792: (follow-up) Double escape the escape The JSON patturn wasn't getting interpreted correctly for me.. the `\` characters needed escaping with a second `\`. Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt index 1326eba204..23d66d9202 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt @@ -307,7 +307,7 @@ return value; },{ type : 'text', - pattern : "^\d+(\.\d{2})?$", + pattern : "^\\d+(\.\\d{2})?$", onblur : 'submit', width : "8em" }); -- 2.20.1