Template:Team:Paris Saclay/simbox
From 2013.igem.org
(Difference between revisions)
Line 142: | Line 142: | ||
{ | { | ||
simulations[simid].molecules[2].curve_show= false; | simulations[simid].molecules[2].curve_show= false; | ||
- | if(simulations[simid].molecules[i]. | + | if(simulations[simid].molecules[i].adjustable) |
{ | { | ||
- | |||
var tmpval= document.getElementById('simbox_ctl_'+simid+'_'+i).value; | var tmpval= document.getElementById('simbox_ctl_'+simid+'_'+i).value; | ||
if(!is_posint(tmpval)) | if(!is_posint(tmpval)) | ||
Line 182: | Line 181: | ||
for(var i= 0 ; i < simulations[simid].molecules.length ; ++i) | for(var i= 0 ; i < simulations[simid].molecules.length ; ++i) | ||
{ | { | ||
- | if(simulations[simid].molecules[i]. | + | if(simulations[simid].molecules[i].adjustable) |
{ | { | ||
document.getElementById('simbox_ctl_'+simid+'_'+i).value= simulations[simid].molecules[i].quantity; | document.getElementById('simbox_ctl_'+simid+'_'+i).value= simulations[simid].molecules[i].quantity; |
Revision as of 22:11, 2 August 2013