From c0d10e98b5c2c0e00b48b5cb38367a4a2642cc23 Mon Sep 17 00:00:00 2001 From: xypXiong Date: Mon, 8 Jan 2018 09:44:43 -0500 Subject: [PATCH] fix #13712 Doesn't default to primary key when creating relations (#13910) We need to compare the escaped value here. Fixes #13712 Signed-off-by: yanping --- js/tbl_relation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tbl_relation.js b/js/tbl_relation.js index 5c3a203359..6d3394ae62 100644 --- a/js/tbl_relation.js +++ b/js/tbl_relation.js @@ -22,7 +22,7 @@ function setDropdownValues ($dropdown, values, selectedValue) { // add an empty string to the beginning for empty selection values.unshift(''); $.each(values, function () { - optionsAsString += ''; + optionsAsString += ''; }); $dropdown.append($(optionsAsString)); }