Archived
1
0

add more actions to mod panel

This commit is contained in:
jeff
2015-09-23 08:54:49 -04:00
parent 5e3f2eea03
commit 00fbc305be
2 changed files with 30 additions and 0 deletions

View File

@@ -42,6 +42,17 @@ function nntpchan_unban() {
})
}
function get_board_target() {
var e = document.getElementById("nntpchan_board_target");
return e.value;
}
function nntpchan_admin_board(method) {
nntpchan_admin(method, {
newsgroup: get_board_target()
})
}
function nntpchan_admin(method, param) {
nntpchan_mod({
name:"admin",