Added kontrastivno special tag
This commit is contained in:
@@ -16,6 +16,9 @@ def label_list_getter():
|
||||
lvalue = row.querySelector(".label-value")
|
||||
lother = row.querySelector(".label-value-other")
|
||||
|
||||
if lother is None:
|
||||
continue
|
||||
|
||||
value = lother.value
|
||||
if not value:
|
||||
value = lvalue.options[lvalue.selectedIndex].text
|
||||
@@ -24,5 +27,9 @@ def label_list_getter():
|
||||
continue
|
||||
|
||||
result.append((ltype.textContent, value))
|
||||
|
||||
kontrastivno = document.getElementById("kontrastivno-input").checked;
|
||||
if kontrastivno:
|
||||
result.append(("relation", "kontrastivno"))
|
||||
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user