Commit 6a965792 authored by Bruno Guillaume's avatar Bruno Guillaume
Browse files

more vue.js (fix missing features with pattern in URL)

parent 49d69851
......@@ -407,13 +407,13 @@ function search_pattern() {
request: "NEW",
pattern: cmEditor.getValue(),
corpus: current_corpus,
lemma: $('#lemma-box').prop('checked'),
upos: $('#upos-box').prop('checked'),
xpos: $('#xpos-box').prop('checked'),
features: $('#features-box').prop('checked'),
tf_wf: $('#tf-wf-box').prop('checked'),
lemma: app.lemma,
upos: app.upos,
xpos: app.xpos,
features: app.features,
tf_wf: app.tf_wf,
order: $('#sentences-order').val(),
context: $('#context-box').prop('checked'),
context: app.context,
eud2ud: (get_info(current_corpus, "enhanced") && !($('#eud-box').prop('checked'))),
......@@ -19,6 +19,14 @@ var app = new Vue({
parallel: "no",
parallels: [],
parallel_svg: undefined,
// printing parameters
lemma: true,
upos: true,
xpos: false,
features: true,
tf_wf: false,
context: false,
methods: {
update_parallel_() {
......@@ -163,23 +163,23 @@
<label v-if="mode=='syntax'">
<input type="checkbox" id="lemma-box" checked> lemma
<input type="checkbox" v-model="lemma"> lemma
<label v-if="mode=='syntax'">
<input type="checkbox" id="upos-box" checked> upos
<input type="checkbox" v-model="upos" checked> upos
<label v-if="mode=='syntax'">
<input type="checkbox" id="xpos-box"> xpos
<input type="checkbox" v-model="xpos"> xpos
<label v-if="mode=='syntax'">
<input type="checkbox" id="features-box" checked> features </input>
<input type="checkbox" v-model="features"> features
<label v-if="mode=='syntax'">
<input type="checkbox" id="tf-wf-box"> textform/wordform </input>
<input type="checkbox" v-model="tf_wf"> textform/wordform
<span href="" class="glyphicon glyphicon-question-sign tooltip-desc" id="tf-wf-tooltip"></span>
......@@ -194,7 +194,7 @@
<input type="checkbox" id="context-box"> context
<input type="checkbox" v-model="context"> context
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment