Commit a9785a4a authored by Phil Hughes's avatar Phil Hughes

Fixed issue with calendar activity button not sending request correctly

parent d59f0d90
...@@ -175,7 +175,7 @@ class @Calendar ...@@ -175,7 +175,7 @@ class @Calendar
.range(['#acd5f2', '#254e77']) .range(['#acd5f2', '#254e77'])
.domain([0, 3]) .domain([0, 3])
clickDay: (stamp) -> clickDay: (stamp) =>
if @currentSelectedDate isnt stamp.date if @currentSelectedDate isnt stamp.date
@currentSelectedDate = stamp.date @currentSelectedDate = stamp.date
formatted_date = @currentSelectedDate.getFullYear() + "-" + (@currentSelectedDate.getMonth()+1) + "-" + @currentSelectedDate.getDate() formatted_date = @currentSelectedDate.getFullYear() + "-" + (@currentSelectedDate.getMonth()+1) + "-" + @currentSelectedDate.getDate()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment