summaryrefslogtreecommitdiff
path: root/src/www
diff options
context:
space:
mode:
authorThomas Hallgren <th-github@altocumulus.org>2018-03-29 18:23:32 +0200
committerThomas Hallgren <th-github@altocumulus.org>2018-03-29 18:23:32 +0200
commit3d6a5e88646e7147972d474e304dc99615f4b905 (patch)
tree696aa0682aa3244be999cd765fa8ccb7f0cafc8f /src/www
parent750a1349ffad116d57b46ea5f816e678018a1d7f (diff)
gfse: show grammar comments in the list of public grammars
gf -server now includes the comment field from the grammar in the response to /cloud requests with command=ls-t and ext=.json
Diffstat (limited to 'src/www')
-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 cb93c305a..ddd8e0058 100644
--- a/src/www/gfse/editor.js
+++ b/src/www/gfse/editor.js
@@ -179,6 +179,7 @@ function draw_grammar_list() {
td(title(tip,
a(jsurl('open_public("'+file+'")'),
[text(basename)]))),
+ td(text(files[i].comment||"")),
td(when)]))
}
}