Skip to content
Snippets Groups Projects
Commit faea50c3 authored by François  LAURENT's avatar François LAURENT
Browse files

uncharacterized bug fix in larvatagger.js

parent 6081f726
No related branches found
No related tags found
No related merge requests found
Pipeline #85836 passed
...@@ -28,6 +28,9 @@ function Backends(controller, location::String) ...@@ -28,6 +28,9 @@ function Backends(controller, location::String)
on(model_instances) do models on(model_instances) do models
model_instance[] = isempty(models) ? nothing : models[1] model_instance[] = isempty(models) ? nothing : models[1]
end end
on(model_instance) do instance
@info "Backend selected" backend=active_backend[] instance
end
return Backends(controller, location, backends, active_backend, model_instances, model_instance) return Backends(controller, location, backends, active_backend, model_instances, model_instance)
end end
......
...@@ -117,7 +117,7 @@ const LarvaTagger = (function () { ...@@ -117,7 +117,7 @@ const LarvaTagger = (function () {
} }
for (let i = 0; i < selectOptions.length; i++) { for (let i = 0; i < selectOptions.length; i++) {
const option = document.createElement('option'); const option = document.createElement('option');
option.value = String(i); option.value = selectOptions[i];
option.text = selectOptions[i]; option.text = selectOptions[i];
if (jlObserver !== undefined) { if (jlObserver !== undefined) {
option.ondblclick = () => { option.ondblclick = () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment