From 172bffba0aae582e7415546303b60ac9e2813ee2 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 12 Oct 2015 18:34:37 +0200 Subject: [PATCH] js: add submit_click function --- web/commons.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/commons.js b/web/commons.js index 0c9a88e..1e47fe7 100644 --- a/web/commons.js +++ b/web/commons.js @@ -1414,3 +1414,8 @@ function download_mgr(url) download_mgr.prototype = { ifra: null } + +function submit_click(obj) +{ + obj.form.elements['realsub'].value = obj.id; +} -- 2.17.1