From b0515e622a40db5ae06900e5e6c00c8f7d7d93be Mon Sep 17 00:00:00 2001 From: Denis Chenu Date: Mon, 29 Apr 2013 12:43:13 +0200 Subject: [PATCH] Fixed issue #07763: Better information display in condition editor gui Dev: condition editor GUI use code and not answer, then show code Dev: Leave a problem with number/string comparaison : really don't know how to fix it --- scripts/jquery/lime-conditions-tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/jquery/lime-conditions-tabs.js b/scripts/jquery/lime-conditions-tabs.js index 783928cab12..fb05cddd9c6 100644 --- a/scripts/jquery/lime-conditions-tabs.js +++ b/scripts/jquery/lime-conditions-tabs.js @@ -60,7 +60,7 @@ function populateCanswersSelect(evt) { } } } - document.getElementById('canswers').options[document.getElementById('canswers').options.length] = new Option(Answers[Keys[i]], Codes[Keys[i]],false,optionSelected); + document.getElementById('canswers').options[document.getElementById('canswers').options.length] = new Option(Codes[Keys[i]]+' ('+Answers[Keys[i]]+')', Codes[Keys[i]],false,optionSelected); } }