diff options
| author | hallgren <hallgren@chalmers.se> | 2016-04-13 13:18:18 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2016-04-13 13:18:18 +0000 |
| commit | 68ebfe9de28f6e78e63db5bfd85f8499048d64c7 (patch) | |
| tree | a759c3a81a99b1d941c7671ed15b600146c479af /src/www/minibar | |
| parent | f0014f61a7f1804b74fbabb90bcb90318d75f2d6 (diff) | |
Minibar: don't show dependency information in parse trees.
This was fixed by adding "&nodep=true" in the minibar when it requests a
parse tree from the server. The reason dependency information got included
in the first place was that all rendering options are on by default in
command=parsetree requests in PGF service API.
Diffstat (limited to 'src/www/minibar')
| -rw-r--r-- | src/www/minibar/minibar_translations.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/www/minibar/minibar_translations.js b/src/www/minibar/minibar_translations.js index 80353920a..9cb103d67 100644 --- a/src/www/minibar/minibar_translations.js +++ b/src/www/minibar/minibar_translations.js @@ -291,7 +291,7 @@ Translations.prototype.alignment_button=function(abs,all,toLangs) { Translations.prototype.parsetree_button=function(abs,lang) { var f=this.options.tree_img_format; var img=this.server.current_grammar_url - +"?command=parsetree&format="+f+"&nodefont=arial" + +"?command=parsetree&format="+f+"&nodep=true&nodefont=arial" +"&from="+lang+"&tree="+encodeURIComponent(abs); var btn=tree_button(img) btn.title="Click to display parse tree. Click again to show function names." |
