summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2012-09-30 19:47:30 +0000
committerhallgren <hallgren@chalmers.se>2012-09-30 19:47:30 +0000
commit5f3e3e8fa2778c111662def0c281189af0c228f4 (patch)
treea5f43bc0ea0d2339389eb234a5efec846edda391 /src
parent996f79f8753434cbffb4ef6032c5c430d3ec1488 (diff)
gfse: display "??" instead of "null" in linearization types when lincats are missing
Diffstat (limited to 'src')
-rw-r--r--src/www/gfse/editor.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/www/gfse/editor.js b/src/www/gfse/editor.js
index bbca6a849..56520018d 100644
--- a/src/www/gfse/editor.js
+++ b/src/www/gfse/editor.js
@@ -1359,6 +1359,7 @@ function lintype(g,conc,igs,dc,type) {
function lincat(cat) {
return dc[cat]
? (dc[cat]==g.basename ? cat_lincat(conc,cat) : ihcat_lincat(cat))
+ || "??"
: cat+"??"
}
return type.map(lincat)