Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 73: | Rivi 73: | ||
memo.graphType = jQuery( this ).attr( 'data-graph-type' ); | memo.graphType = jQuery( this ).attr( 'data-graph-type' ); | ||
memo.id = jQuery( this ).attr( 'id' ); if (typeof memo.id == 'undefined') { memo.id = 'jwsitegraph_' + Math.random() + '_container'; jQuery( this ).attr( 'id', memo.id ); } | memo.id = jQuery( this ).attr( 'id' ); if (typeof memo.id == 'undefined') { memo.id = 'jwsitegraph_' + Math.random() + '_container'; jQuery( this ).attr( 'id', memo.id ); } | ||
memo.loadStarts = 0; | memo.loadStarts = 0; | ||
memo.obses = {}; | memo.obses = {}; | ||
| Rivi 85: | Rivi 85: | ||
memo.trendType = jQuery( this ).attr( 'data-trend-type' ); if (typeof memo.trendType == 'undefined') { memo.trendType = i18n[memo.obscode]['trend']['type']; } | memo.trendType = jQuery( this ).attr( 'data-trend-type' ); if (typeof memo.trendType == 'undefined') { memo.trendType = i18n[memo.obscode]['trend']['type']; } | ||
memo.titleEl.html( i18n[ memo.obscode ][ memo.lang ].title ); | |||
//getJWobses(memo); | //getJWobses(memo); | ||


