luci-base: form.js: ButtonValue: pass sid as first onclick argument
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 311bcd4b5c
)
This commit is contained in:
parent
920433457d
commit
405f5e837f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue