mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Fix custom zoom button link
This commit is contained in:
parent
f3497eb37c
commit
e3bd674ee8
3 changed files with 4 additions and 4 deletions
|
|
@ -323,8 +323,8 @@ function attachStackedChartCallback(chart, schema_name, chart_id, zoom_reset_id,
|
|||
$graph_zoom.find(".custom-zoom-btn").show();
|
||||
|
||||
var zoom_link = $graph_zoom.find(".custom-zoom-btn input");
|
||||
var link = zoom_link.val();
|
||||
link += "&epoch_begin=" + t_start + "&epoch_end=" + t_end;
|
||||
var link = zoom_link.val().replace(/&epoch_begin=.*/, "");
|
||||
link += "&epoch_begin=" + params.epoch_begin + "&epoch_end=" + params.epoch_end;
|
||||
zoom_link.val(link);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue