summaryrefslogtreecommitdiffstats
path: root/web/client.js
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-12-01 11:42:41 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-12-03 23:30:18 +0200
commitd919f0e44851501e8a8cca8b8c59f48e00910abc (patch)
treeffa859a7117abf203d2b3a218bac2dfdafe8b4f0 /web/client.js
parent4fd4280e0fdef0903a4ce00debb3f94c67c52d41 (diff)
downloadaconf-d919f0e44851501e8a8cca8b8c59f48e00910abc.tar.bz2
aconf-d919f0e44851501e8a8cca8b8c59f48e00910abc.tar.xz
present choices in relative forms for reference sets
Diffstat (limited to 'web/client.js')
-rw-r--r--web/client.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/client.js b/web/client.js
index ce5a031..aa3c649 100644
--- a/web/client.js
+++ b/web/client.js
@@ -944,8 +944,8 @@ $(function() {
row.append($("<td>").html(cbox));
var item = $("<td>");
- if (choice.path) item.html(
- Link.staticRender(choice.value).text(choice["ui-value"])
+ if (choice.ref) item.html(
+ Link.staticRender(choice.ref).text(choice["ui-value"])
);
else item.text(choice["ui-value"]);
row.append(item);