projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
369cb62
)
luci-base: form.js: ButtonValue: pass sid as first onclick argument
author
Jo-Philipp Wich
<jo@mein.io>
Wed, 12 Feb 2020 17:31:36 +0000
(18:31 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Thu, 13 Feb 2020 18:26:33 +0000
(19:26 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/form.js
b/modules/luci-base/htdocs/luci-static/resources/form.js
index 80b1393d5f6aad168c1d28bf773707213bea71ae..b31dac7145918f34e6124c16e5c39aaf2775b997 100644
(file)
--- 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