diff --git a/templates/repo/cloudbrain/benchmark/new.tmpl b/templates/repo/cloudbrain/benchmark/new.tmpl index 7bd292beb..4b7d0da2e 100755 --- a/templates/repo/cloudbrain/benchmark/new.tmpl +++ b/templates/repo/cloudbrain/benchmark/new.tmpl @@ -184,10 +184,10 @@ let type_id = $('#benchmark_types_id').val(); $.get(`${repolink}/cloudbrain/benchmark/get_child_types?benchmark_type_id=${type_id}`, (data) => { console.log(JSON.stringify(data)) - const n_length = data.child_types.length + const n_length = data['child_types'].length let html='' for (let i=0;i"${data.child_types[i].Value}"`; + html += ``; } document.getElementById("benchmark_child_types_id").innerHTML=html; })