[CalendarServer-changes] [12761] CalendarServer/trunk/calendarserver/webadmin/work.xhtml
source_changes at macosforge.org
source_changes at macosforge.org
Wed Feb 26 18:34:52 PST 2014
Revision: 12761
http://trac.calendarserver.org//changeset/12761
Author: wsanchez at apple.com
Date: 2014-02-26 18:34:52 -0800 (Wed, 26 Feb 2014)
Log Message:
-----------
minor
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/webadmin/work.xhtml
Modified: CalendarServer/trunk/calendarserver/webadmin/work.xhtml
===================================================================
--- CalendarServer/trunk/calendarserver/webadmin/work.xhtml 2014-02-27 02:34:09 UTC (rev 12760)
+++ CalendarServer/trunk/calendarserver/webadmin/work.xhtml 2014-02-27 02:34:52 UTC (rev 12761)
@@ -70,16 +70,24 @@
bars.exit().remove()
}
- function update() {
+ function updateChart() {
drawChart([4, 8, 15, 16, 23, 42]);
}
function initChart() {
- drawChart([0, 0, 0, 0, 0, 0]);
+ drawChart([1, 2, 3, 4, 8, 15, 16, 23, 42]);
}
- window.onload = initChart;
+ function initEventSource() {
+ var eventSource = new EventSource("./events");
+ }
+
+
+ window.onload = function() {
+ initChart();
+ };
+
</script>
</head>
@@ -90,7 +98,7 @@
<svg id="work_queues_chart" />
<br />
- <button onclick="update()">Update</button>
+ <button onclick="updateChart()">Update</button>
</body>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140226/c931caab/attachment-0001.html>
More information about the calendarserver-changes
mailing list