Closed ethanp closed 9 years ago
I think all I have to do is add something along the lines of
"time-spent-so-far" :"<%= interval.task.time_spent_so_far %>",
to _interval.json.erb
it still doesn't do anything when you delete
an interval via ajax though...which is now #115
THIS IS WRONG
This will be a bit more work than I thought
modify
intervals_controller.create_from_ajax
to return the extra data instead of justbasically, it should instead be
where
_interval_data.html.haml
renders the@interval
as exists, but also returns arecordButtonPressed
intasks.js
to utilize the extra data...waitaminute, see below