Client-side POST'ing
This commit is contained in:
parent
2fe8522585
commit
824b368891
1 changed files with 11 additions and 1 deletions
|
@ -259,6 +259,16 @@
|
|||
)
|
||||
}
|
||||
function update_wkd() {
|
||||
// Post to /system/pgp/wkd
|
||||
api(
|
||||
"/system/pgp/wkd",
|
||||
"POST",
|
||||
dirty_config,
|
||||
(r) => {
|
||||
show_modal_error("WKD Management", $("<p/>").text(r), () => {if (r == "OK") show_wkd()})
|
||||
},
|
||||
(r) => {
|
||||
show_modal_error("WKD Management", $("<p/>").text(r))
|
||||
}
|
||||
)
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue