From: miker Date: Mon, 5 Nov 2007 20:04:09 +0000 (+0000) Subject: first attempt at unbreaking messagecatalog X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8424bbff0e6880a221ef3dbdbf4a7120034753c8;p=Evergreen.git first attempt at unbreaking messagecatalog git-svn-id: svn://svn.open-ils.org/ILS/trunk@8007 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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) {