mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Handle expire resolution js code
This commit is contained in:
parent
844a34df92
commit
cd3c2b68c2
2 changed files with 9 additions and 8 deletions
|
|
@ -2623,16 +2623,14 @@ function makeResolutionButtons(fmt_to_data, ctrl_id, fmt, value, extra)
|
|||
function resol_selector_on_form_submit(event) {
|
||||
var form = $(this);
|
||||
|
||||
]]
|
||||
|
||||
if false then
|
||||
js_init_code = js_init_code..[[
|
||||
if (event.isDefaultPrevented()) /* isDefaultPrevented is true when the form is invalid */
|
||||
return false;
|
||||
]]
|
||||
end
|
||||
return false;
|
||||
|
||||
js_init_code = js_init_code..[[
|
||||
resol_selector_finalize(form);
|
||||
return true;
|
||||
}
|
||||
|
||||
function resol_selector_finalize(form) {
|
||||
$.each(_resol_inputs, function(i, elem) {
|
||||
var selected = $(elem).find("input[checked]");
|
||||
var input = resol_selector_get_input(selected);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue