summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve <sb@npubs.com>2006-04-19 21:56:25 +0000
committerSteve <sb@npubs.com>2006-04-19 21:56:25 +0000
commit8f2e6fc5fe651d67e419b69749a29223866fcb10 (patch)
tree66972683e887faaf14b82f99bb1646989f030fdb
parentbd0b2b775eba823bd6325409dd287c0fd80a715a (diff)
set other as default
-rw-r--r--html/rrdui.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/html/rrdui.js b/html/rrdui.js
index 7528ecc..b868728 100644
--- a/html/rrdui.js
+++ b/html/rrdui.js
@@ -583,7 +583,10 @@ function displayCategories()
{
cat = graphs.item(i).getAttribute("category");
if(!cat)
+ {
cat = "Other";
+ graphs.item(i).setAttribute("category", "Other");
+ }
cats[cat] = true;
}