From df5ea4dd8ac0478853e496cc3349ca3cf7d0c900 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 Signed-off-by: Katrin Fischer --- 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.11.0