Allow channel admins to read channel logs
This commit is contained in:
parent
07249f3589
commit
a371ff629d
6 changed files with 88 additions and 0 deletions
|
|
@ -497,6 +497,19 @@ Callbacks = {
|
|||
);
|
||||
},
|
||||
|
||||
readChanLog: function (data) {
|
||||
var log = $("#chanlog_contents");
|
||||
if(log.length == 0)
|
||||
return;
|
||||
|
||||
if(data.success) {
|
||||
log.text(data.data);
|
||||
} else {
|
||||
log.text("Error reading channel log");
|
||||
}
|
||||
log.scrollTop(log.prop("scrollHeight"));
|
||||
},
|
||||
|
||||
voteskip: function(data) {
|
||||
if(data.count > 0) {
|
||||
$("#voteskip").text("Voteskip ("+data.count+"/"+data.need+")");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue