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:
9204334
)
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:31:34 +0000
(19:31 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
311bcd4b5cb9f630e41f4fc5e08a6993fddc289a
)
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 4ce5e45ebe6d1c1319074f79e5b890efdbb278bd..aecb6227c8290216156cc1e3584ee48fae587024 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/form.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/form.js
@@
-1893,7
+1893,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