Add refresh button for chanlogs

This commit is contained in:
Calvin Montgomery 2013-08-06 23:37:45 -04:00
parent 544a316cad
commit cf7972f740
2 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,9 @@
$("#show_chanlog").click(function () {
socket.emit("readChanLog");
});
$("#chanlog_refresh").click(function () {
socket.emit("readChanLog");
});
genPermissionsEditor();

View File

@ -225,5 +225,6 @@
</table>
</div>
<div id="chanlog" class="span12">
<button class="btn" id="chanlog_refresh">Refresh</button>
<pre id="chanlog_contents" style="max-height: 400px; overflow-y: scroll"></pre>
</div>