This commit is contained in:
9
templates/Maketank/src/js/components/traffic.js
Normal file
9
templates/Maketank/src/js/components/traffic.js
Normal file
@@ -0,0 +1,9 @@
|
||||
$(function () {
|
||||
|
||||
// Display helptext to content box according to dns-record type selected
|
||||
$("select[name='range']").on('change', function () {
|
||||
var selVal = $(this).val();
|
||||
var baseRef = $(this).data('baseref');
|
||||
window.location.href = baseRef + '?range=' + selVal;
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user