From 8424bbff0e6880a221ef3dbdbf4a7120034753c8 Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 5 Nov 2007 20:04:09 +0000 Subject: [PATCH] first attempt at unbreaking messagecatalog git-svn-id: svn://svn.open-ils.org/ILS/trunk@8007 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/main/bindings.xml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml b/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml index cf1ff33439..c9ec26735e 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml +++ b/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml @@ -152,20 +152,13 @@ var these = [ str ].concat(params); var v = this.sprintf.apply(this,these); - // The standard set of replacables - v = v.replace(/\\\\/g, '\\'); - v = v.replace(/\\b/g, '\b'); - v = v.replace(/\\f/g, '\f'); - v = v.replace(/\\r/g, '\r'); - v = v.replace(/\\t/g, '\t'); - v = v.replace(/\\v/g, '\v'); - v = v.replace(/\\n/g, '\n'); - // replace unicode escapes +/* v = v.replace( /\\u([0-9a-f]{4})/gi, function (r,s) { return String.fromCharCode(s); } ); +*/ return v; } catch(e) { -- 2.11.0