Ero sivun ”Widget:JwObsCharts” versioiden välillä
Järvi-meriwikistä
Rivi 350: | Rivi 350: | ||
so = { 'obscode': memo.obscodeParts[0], 'waterbody': memo.waterbody, 'startdate': memo.startDate, 'custom': custom }; | so = { 'obscode': memo.obscodeParts[0], 'waterbody': memo.waterbody, 'startdate': memo.startDate, 'custom': custom }; | ||
} | } | ||
− | + | console.log( so ); | |
memo.jw.loadObses( so, function( o ) { | memo.jw.loadObses( so, function( o ) { | ||
memo.obses = memo.jw.obs; | memo.obses = memo.jw.obs; | ||
Rivi 1 364: | Rivi 1 364: | ||
memo.avgWlist = []; | memo.avgWlist = []; | ||
− | + | ||
for ( var y in memo.avgW ) { | for ( var y in memo.avgW ) { | ||
for ( var w in memo.avgW[y] ) { | for ( var w in memo.avgW[y] ) { |