Ero sivun ”Widget:JwObsCharts2” versioiden välillä
Järvi-meriwikistä
Rivi 1 095: | Rivi 1 095: | ||
console.log( memo.obsesA[o] ); | console.log( memo.obsesA[o] ); | ||
− | dateStr = memo.obsesA[o].popup.match( /\([^)]*\)/g ); | + | //dateStr = memo.obsesA[o].popup.match( /\([^)]*\)/g ); |
− | yearStr = dateStr[0].match( /[0-9]{4}/g ); | + | //yearStr = dateStr[0].match( /[0-9]{4}/g ); |
− | memo.obsesA[o].popup = memo.obsesA[o].popup.replace( dateStr[0], '(' + yearStr[0] + ')' ); | + | memo.obsesA[o].popup = 'popup'; //memo.obsesA[o].popup.replace( dateStr[0], '(' + yearStr[0] + ')' ); |
memo.dataA.push( [ | memo.dataA.push( [ | ||
memo.obsesA[o].obsdatetime, | memo.obsesA[o].obsdatetime, |