Archived
1
0

Merge branch 'master' into dank

This commit is contained in:
jeff
2015-10-02 11:02:37 -04:00
2 changed files with 29 additions and 0 deletions

View File

@@ -47,6 +47,23 @@ function get_board_target() {
return e.value;
}
function get_key_target() {
var e = document.getElementById("nntpchan_key_target");
return e.value;
}
function nntpchan_key_del() {
nntpchan_admin("pubkey.del", {
pubkey: get_key_target()
});
}
function nntpchan_key_add() {
nntpchan_admin("pubkey.add", {
pubkey: get_key_target()
});
}
function nntpchan_admin_board(method) {
nntpchan_admin(method, {
newsgroup: get_board_target()