js: add submit_click function
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Mon, 12 Oct 2015 16:34:37 +0000 (18:34 +0200)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Mon, 12 Oct 2015 16:34:37 +0000 (18:34 +0200)
web/commons.js

index 0c9a88e..1e47fe7 100644 (file)
@@ -1414,3 +1414,8 @@ function download_mgr(url)
 download_mgr.prototype = {
     ifra: null
 }
+
+function submit_click(obj)
+{
+    obj.form.elements['realsub'].value = obj.id;
+}