Commit 90b26747 authored by Ad Schellevis's avatar Ad Schellevis

(netflow) reconfigure on save

parent 72c3c8c4
......@@ -37,15 +37,17 @@ POSSIBILITY OF SUCH DAMAGE.
// link save button to API set action
$("#btn_save_capture").click(function(){
$("#frm_CaptureSettings_progress").addClass("fa fa-spinner fa-pulse");
saveFormToEndpoint(url="/api/diagnostics/netflow/setconfig",formid='frm_CaptureSettings',callback_ok=function(){
ajaxCall(url="/api/diagnostics/netflow/reconfigure", sendData={}, callback=function(data,status) {
$("#frm_CaptureSettings_progress").removeClass("fa fa-spinner fa-pulse");
});
});
});
});
</script>
<ul class="nav nav-tabs" data-tabs="tabs" id="maintabs">
<li class="active"><a data-toggle="tab" href="#capture">{{ lang._('Capture') }}</a></li>
</ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment