From b985f0be980990b19ff738e27ed2abc169b8e6bc Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Mon, 11 Mar 2013 15:09:51 -0400 Subject: [PATCH] Escape barcode completion button labels Some characters piss off the XML parser. Signed-off-by: Thomas Berezansky Signed-off-by: Ben Shum --- Open-ILS/xul/staff_client/chrome/content/main/menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu.js b/Open-ILS/xul/staff_client/chrome/content/main/menu.js index 1dea0ef9a3..316c03313f 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -2670,7 +2670,7 @@ commands: if(context != valid_r[i].type && offlineStrings.testString('barcode_choice.' + valid_r[i].type + '_label')) button_label = offlineStrings.getFormattedString('barcode_choice.' + valid_r[i].type + '_label', [button_label]); - xml += '