diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-02-12 18:31:36 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-02-13 19:26:33 +0100 |
commit | 311bcd4b5cb9f630e41f4fc5e08a6993fddc289a (patch) | |
tree | b8f2e2a14a8fbaebec0da2c4f38c5d65797e4e8e /modules/luci-base/htdocs/luci-static/resources/form.js | |
parent | 369cb62aafb9c8822f6c1731e81c40ef5780c57e (diff) |
luci-base: form.js: ButtonValue: pass sid as first onclick argument
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static/resources/form.js')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 80b1393d5f..b31dac7145 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -1897,7 +1897,7 @@ var CBIButtonValue = CBIValue.extend({ 'click': L.ui.createHandlerFn(this, this.onclick || function(ev) { ev.currentTarget.parentNode.nextElementSibling.value = value; return this.map.save(); - }) + }, section_id) }, [ btn_title ]) ]); else |