@@ -182,15 +182,13 @@ function updateTable(id, data) {
182
182
}
183
183
184
184
function updateGraph (graphid , graphkey ) {
185
- const d = new Date ();
186
- const t = d .getTime ();
187
- document .getElementById (graphid).src = ' graph?' + graphkey + ' &t=' + t + " &timeperiod=" + currentTimePeriod + " &format=png" ;
185
+ document .getElementById (graphid).src = ' graph?' + graphkey + " &timeperiod=" + currentTimePeriod + " &format=png" ;
188
186
189
187
statParam = graphkey .split (' &' );
190
188
statName = statParam[0 ].split (' =' );
191
189
if (isSnapshotDetailVisible && currentSnapshot === statName[1 ]) {
192
190
viewElement = document .getElementById (' snapshot-detail-image' );
193
- viewElement .src = ' graph?stat=' + statName[1 ] + ' &t= ' + t + ' & timeperiod=' + currentTimePeriod + ' &width=700&height=250&format=png'
191
+ viewElement .src = ' graph?stat=' + statName[1 ] + ' &timeperiod=' + currentTimePeriod + ' &width=700&height=250&format=png'
194
192
}
195
193
}
196
194
@@ -278,7 +276,7 @@ let currentSnapshot = '';
278
276
279
277
function displaySnapshotDetail (snapshot ) {
280
278
if (! isSnapshotDetailVisible) {
281
- document .getElementById (' snapshot-detail-image' ).src = ' graph?stat=' + snapshot + ' &t= ' + t + ' & timeperiod=' + currentTimePeriod + ' &width=700&height=250&format=png' ;
279
+ document .getElementById (' snapshot-detail-image' ).src = ' graph?stat=' + snapshot + ' &timeperiod=' + currentTimePeriod + ' &width=700&height=250&format=png' ;
282
280
document .getElementById (' snapshot-detail' ).style .display = ' block' ;
283
281
isSnapshotDetailVisible = true ;
284
282
toggleSnapshotSelected (snapshot);
@@ -293,7 +291,7 @@ function displaySnapshotDetail(snapshot) {
293
291
viewElement .src = i .src ;
294
292
document .getElementById (' snapshot-detail-image' ).style .display = ' block' ;
295
293
}
296
- i .src = ' graph?stat=' + snapshot + ' &t= ' + new Date (). getTime () + ' & timeperiod=' + currentTimePeriod + ' &width=700&height=250&format=png' ;
294
+ i .src = ' graph?stat=' + snapshot + ' &timeperiod=' + currentTimePeriod + ' &width=700&height=250&format=png' ;
297
295
toggleSnapshotSelected (snapshot);
298
296
currentSnapshot = snapshot;
299
297
} else {
0 commit comments