modifica query
This commit is contained in:
parent
ccae0d8728
commit
d72b1381cf
|
@ -741,7 +741,9 @@ $(document).ready(function() {
|
||||||
if (!isPeriodoInCanto(idperiodo, cantoDisplayed) && !(cantoDisplayed.includes('#vistaFrasi')))
|
if (!isPeriodoInCanto(idperiodo, cantoDisplayed) && !(cantoDisplayed.includes('#vistaFrasi')))
|
||||||
return
|
return
|
||||||
|
|
||||||
/*$(cantoDisplayed).find(' .' + idperiodo + '.' + funzionefrase).each(function() {
|
|
||||||
|
if (fromn == null || ton == null) {
|
||||||
|
$(cantoDisplayed).find(' .' + idperiodo + '.' + funzionefrase).each(function() {
|
||||||
var tpstp = $(this).attr('class').split(" ")[1]
|
var tpstp = $(this).attr('class').split(" ")[1]
|
||||||
$(this).css('color', colorssp(mapsynttypestopalette[tpstp]));
|
$(this).css('color', colorssp(mapsynttypestopalette[tpstp]));
|
||||||
|
|
||||||
|
@ -751,8 +753,9 @@ $(document).ready(function() {
|
||||||
minim.contents().find(' .' + idperiodo + '.' + funzionefrase).each(function() {
|
minim.contents().find(' .' + idperiodo + '.' + funzionefrase).each(function() {
|
||||||
var mtpstp = $(this).attr('class').split(" ")[1]
|
var mtpstp = $(this).attr('class').split(" ")[1]
|
||||||
$(this).css('color', colorssp(mapsynttypestopalette[mtpstp]));
|
$(this).css('color', colorssp(mapsynttypestopalette[mtpstp]));
|
||||||
})*/
|
})
|
||||||
|
}
|
||||||
|
else {
|
||||||
$(cantoDisplayed).find(' .' + idperiodo).each(function() {
|
$(cantoDisplayed).find(' .' + idperiodo).each(function() {
|
||||||
var vid = parseInt($(this).attr('id').replace('e', ''))
|
var vid = parseInt($(this).attr('id').replace('e', ''))
|
||||||
if (vid >= parseInt(fromn)
|
if (vid >= parseInt(fromn)
|
||||||
|
@ -776,6 +779,7 @@ $(document).ready(function() {
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function loadDialoghi() {
|
function loadDialoghi() {
|
||||||
|
|
|
@ -486,7 +486,7 @@ const sentencetarget_morphgroup = `{"type": "group",
|
||||||
"predicate": {"termType": "NamedNode","value": "https://dantenetwork.it/ontology/olires/current/occurrenceOf"},
|
"predicate": {"termType": "NamedNode","value": "https://dantenetwork.it/ontology/olires/current/occurrenceOf"},
|
||||||
"object": {"termType": "Variable","value": "clg"}},
|
"object": {"termType": "Variable","value": "clg"}},
|
||||||
{"subject": {"termType": "Variable","value": "cloccte"},
|
{"subject": {"termType": "Variable","value": "cloccte"},
|
||||||
"predicate": {"termType": "NamedNode","value": "http://erlangen-crm.org/current/P148_has_component"},
|
"predicate": {"termType": "NamedNode","value": "https://erlangen-crm.org/current/P148_has_component"},
|
||||||
"object": {"termType": "Variable","value": "fa"}}
|
"object": {"termType": "Variable","value": "fa"}}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -504,7 +504,7 @@ const sentencetarget_morphgroup_short = `{"type": "group",
|
||||||
"predicate": {"termType": "NamedNode","value": "https://dantenetwork.it/ontology/olires/current/OccursInRegion"},
|
"predicate": {"termType": "NamedNode","value": "https://dantenetwork.it/ontology/olires/current/OccursInRegion"},
|
||||||
"object": {"termType": "Variable", "value": "reg"}},
|
"object": {"termType": "Variable", "value": "reg"}},
|
||||||
{"subject": {"termType": "Variable","value": "cloccte"},
|
{"subject": {"termType": "Variable","value": "cloccte"},
|
||||||
"predicate": {"termType": "NamedNode","value": "http://erlangen-crm.org/current/P148_has_component"},
|
"predicate": {"termType": "NamedNode","value": "https://erlangen-crm.org/current/P148_has_component"},
|
||||||
"object": {"termType": "Variable","value": "fa"}},
|
"object": {"termType": "Variable","value": "fa"}},
|
||||||
{"subject": {"termType": "Variable","value": "cloccte"},
|
{"subject": {"termType": "Variable","value": "cloccte"},
|
||||||
"predicate": {"termType": "NamedNode","value": "https://dantenetwork.it/ontology/olires/current/occurrenceOf"},
|
"predicate": {"termType": "NamedNode","value": "https://dantenetwork.it/ontology/olires/current/occurrenceOf"},
|
||||||
|
@ -541,7 +541,7 @@ const occurrenceof_form = `{"subject": {"termType": "Variable","value": "fa"},
|
||||||
"predicate": {"termType": "NamedNode","value": "https://dantenetwork.it/ontology/olires/current/occurrenceOf"},
|
"predicate": {"termType": "NamedNode","value": "https://dantenetwork.it/ontology/olires/current/occurrenceOf"},
|
||||||
"object": {"termType": "Variable","value": "form"}}`
|
"object": {"termType": "Variable","value": "form"}}`
|
||||||
const clauseocc_hascomponent_formocc = `{"subject": {"termType": "Variable","value": "cloccu"},
|
const clauseocc_hascomponent_formocc = `{"subject": {"termType": "Variable","value": "cloccu"},
|
||||||
"predicate": {"termType": "NamedNode","value": "http://erlangen-crm.org/current/P148_has_component"},
|
"predicate": {"termType": "NamedNode","value": "https://erlangen-crm.org/current/P148_has_component"},
|
||||||
"object": {"termType": "Variable","value": "fa"}}`
|
"object": {"termType": "Variable","value": "fa"}}`
|
||||||
|
|
||||||
const occurrenceof_clause = `{"subject": {"termType": "Variable","value": "cloccu"},
|
const occurrenceof_clause = `{"subject": {"termType": "Variable","value": "cloccu"},
|
||||||
|
|
|
@ -139,6 +139,7 @@ export function resetGraphStr(){
|
||||||
sentence[i].classList.remove('font-italic');
|
sentence[i].classList.remove('font-italic');
|
||||||
/*if (!vistaPeriodi && !listaPeriodiRisultato.includes(tmpsent)
|
/*if (!vistaPeriodi && !listaPeriodiRisultato.includes(tmpsent)
|
||||||
&& listaClausoleRisultato.filter(cl => cl.split('-')[0]==tmpsent).length==0)*/
|
&& listaClausoleRisultato.filter(cl => cl.split('-')[0]==tmpsent).length==0)*/
|
||||||
|
if (!vistaPeriodi)
|
||||||
sentence[i].style.removeProperty('color');
|
sentence[i].style.removeProperty('color');
|
||||||
|
|
||||||
sentence[i].classList.remove('font-weight-normal');
|
sentence[i].classList.remove('font-weight-normal');
|
||||||
|
|
Loading…
Reference in New Issue