From: Martin Renvoize Date: Thu, 25 Feb 2021 13:55:15 +0000 (+0000) Subject: Bug 27792: (follow-up) Double escape the escape X-Git-Tag: v21.05.00~1047 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=f8a92cb8e8b731f1526500f32cf115dbd5636cf6;p=koha-ffzg.git 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 Signed-off-by: Jonathan Druart --- 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" });