mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-04-02 09:51:57 -04:00
adds project_id arg to 'log time' link to preselect the current project, if any.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<% if User.current.logged? %>
|
||||
window.stopwatch.highlightRunningTimer(
|
||||
<%= raw Stopwatch::Timer.new(User.current).to_json %>
|
||||
)
|
||||
);
|
||||
window.stopwatch.setProjectId('<%= j @project&.id.to_s %>');
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user