Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishapi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishapi
Commits
ad007553
Commit
ad007553
authored
Aug 19, 2018
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
govarnishstat JS bugfix.
parent
5fdedbd5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
table.go
cmd/govarnishstat/table.go
+2
-3
No files found.
cmd/govarnishstat/table.go
View file @
ad007553
...
...
@@ -97,6 +97,7 @@ table.hitrate {
var addr = "ws://" + location.hostname + ":" + location.port
var metadata = {}
var tbody
var rows
var colClassList = []
var show0 = false
var show0_checkbox
...
...
@@ -277,7 +278,6 @@ function getHitrate() {
}
function resetVisibility() {
var rows = tbody.rows
for (i = 0; i < rows.length; i++) {
var raw = rows[i].getAttribute("data-raw")
if (raw == "0" && !show0) {
...
...
@@ -332,8 +332,6 @@ function toggleShow0() {
function toggleFormatting() {
formatting = !formatting
for (i = 0; i < tbody.rows.length; i++)
format(tbody.rows[i])
}
function keyUp(evt) {
...
...
@@ -378,6 +376,7 @@ function keyUp(evt) {
window.onload = function() {
var tbl = document.getElementById("statsTbl")
tbody = tbl.getElementsByTagName('tbody')[0];
rows = tbody.rows
var headrow = document.getElementById("headrow")
for (i = 0; i < headrow.cells.length; i++)
colClassList[i] = headrow.cells[i].classList
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment