aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms-oplog.js
diff options
context:
space:
mode:
authorKristian Lyngstøl <kly@kly.no>2017-04-16 01:47:57 +0200
committerKristian Lyngstøl <kly@kly.no>2017-04-16 01:47:57 +0200
commit0b99608227d53c9eebb01fd7f98d1618cbb7a2cf (patch)
treebc7a412d82ced33c10749289228df0cda942e632 /web/js/nms-oplog.js
parentbb862773d69bc5997bd1628a3f0505827e7cfe5c (diff)
TG17 monster commit
Diffstat (limited to 'web/js/nms-oplog.js')
-rw-r--r--web/js/nms-oplog.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/js/nms-oplog.js b/web/js/nms-oplog.js
index c418e33..7ac11c4 100644
--- a/web/js/nms-oplog.js
+++ b/web/js/nms-oplog.js
@@ -59,7 +59,7 @@ nmsOplog.commit = function() {
}
nmsOplog.updateComments = function() {
- nmsOplog._updateComments(3,"-mini","time",100);
+ nmsOplog._updateComments(10,"-mini","time",100);
nmsOplog._updateComments(0,"","timestamp");
}
@@ -89,6 +89,9 @@ nmsOplog._updateComments = function(limit,prefix,timefield,cutoff) {
table.classList.add("table-condensed");
var i = 0;
for (var v in nmsData['oplog']['oplog']) {
+ if (cutoff && nmsData.oplog.oplog[v]['username'] == "system") {
+ continue;
+ }
tr = table.insertRow(-1);
td1 = tr.insertCell(0);
td2 = tr.insertCell(1);