aboutsummaryrefslogtreecommitdiffstats
path: root/lib/srtgui/templates/cve.html
diff options
context:
space:
mode:
Diffstat (limited to 'lib/srtgui/templates/cve.html')
-rw-r--r--lib/srtgui/templates/cve.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/srtgui/templates/cve.html b/lib/srtgui/templates/cve.html
index 91844ac5..ecbcf39e 100644
--- a/lib/srtgui/templates/cve.html
+++ b/lib/srtgui/templates/cve.html
@@ -285,6 +285,13 @@
});
});
+ $("#submit-attach-vulnerability").click(function(){
+ postCommitAjaxRequest({
+ "action" : 'submit-attach-vulnerability',
+ "vul_name" : $("#vulnerability_name").val(),
+ });
+ });
+
/* Set the report link */