]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
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 0c9a88e4e7aa5394e8fdaba59727e775706962ca..1e47fe78074a0477ded484f4af5deef4f79e1b8b 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;
+}