From 614193a8cad11022a2b851c6b4d84e20f6ef2293 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 --- 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 2fb926857e..3979ca3949 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -2660,7 +2660,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 += '