Ero sivun ”Widget:JwObsCharts” versioiden välillä
Järvi-meriwikistä
Rivi 441: | Rivi 441: | ||
obs = memo.obses[o]; | obs = memo.obses[o]; | ||
− | if ( i18n[memo.obscode].valfield != 'val' ) { | + | if ( i18n[ memo.obscode ].valfield != 'val' ) { |
− | console.log( i18n[memo.obscode].valfield ); | + | console.log( memo.obscode ); |
+ | console.log( i18n[ memo.obscode ].valfield ); | ||
console.log( obs.data ); | console.log( obs.data ); | ||
obs.value = obs.data[ i18n[memo.obscode].valfield ]; | obs.value = obs.data[ i18n[memo.obscode].valfield ]; |