[CalendarServer-changes] [12805] CalendarServer/trunk/calendarserver/webadmin/work.xhtml
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 4 18:21:54 PST 2014
Revision: 12805
http://trac.calendarserver.org//changeset/12805
Author: wsanchez at apple.com
Date: 2014-03-04 18:21:54 -0800 (Tue, 04 Mar 2014)
Log Message:
-----------
cosmetic
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/webadmin/work.xhtml
Modified: CalendarServer/trunk/calendarserver/webadmin/work.xhtml
===================================================================
--- CalendarServer/trunk/calendarserver/webadmin/work.xhtml 2014-03-05 02:21:33 UTC (rev 12804)
+++ CalendarServer/trunk/calendarserver/webadmin/work.xhtml 2014-03-05 02:21:54 UTC (rev 12805)
@@ -194,7 +194,8 @@
// Select bars
var bars =
inner.selectAll(".bar")
- .data(items);
+ .data(items)
+ ;
// Enter bars selection
bars.enter().append("rect");
@@ -207,7 +208,8 @@
.attr(
"transform",
function(i) { return "translate(" + xInset + "," + yLocation(i.description) + ")"; }
- );
+ )
+ ;
// Exit bars selection
bars.exit().remove();
@@ -215,7 +217,8 @@
// Select labels
var labels =
inner.selectAll(".label")
- .data(items);
+ .data(items)
+ ;
// Enter labels selection
labels.enter().append("text");
@@ -226,10 +229,12 @@
.attr("x", function(i) { return xLocationWithZero(i.count) + 4; })
.attr("y", function(i) { return yLocation(i.description) + (yLocation.rangeBand() / 2); })
.attr("dy", "0.32em")
+ .attr("onclick", function(i) { return "showDetails(" + i.name + ");"; })
.text(function(i) {
if (i.count < 1) { return ""; }
return i.count;
})
+ ;
// Exit labels selection
labels.exit().remove();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140304/40553028/attachment-0001.html>
More information about the calendarserver-changes
mailing list