luci-base: form.js: ButtonValue: pass sid as first onclick argument
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
369cb62aaf
commit
311bcd4b5c
1 changed files with 1 additions and 1 deletions
|
@ -1897,7 +1897,7 @@ var CBIButtonValue = CBIValue.extend({
|
||||||
'click': L.ui.createHandlerFn(this, this.onclick || function(ev) {
|
'click': L.ui.createHandlerFn(this, this.onclick || function(ev) {
|
||||||
ev.currentTarget.parentNode.nextElementSibling.value = value;
|
ev.currentTarget.parentNode.nextElementSibling.value = value;
|
||||||
return this.map.save();
|
return this.map.save();
|
||||||
})
|
}, section_id)
|
||||||
}, [ btn_title ])
|
}, [ btn_title ])
|
||||||
]);
|
]);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue