mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-04-02 09:51:57 -04:00
start/stop tracking: issue context menu entry
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<% if @started_time_entry %>
|
||||
contextMenuHide();
|
||||
window.stopwatch.timerStarted(
|
||||
<%= raw Stopwatch::Timer.new(User.current).to_json %>
|
||||
);
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
contextMenuHide();
|
||||
window.stopwatch.updateStartStopLink(
|
||||
'#stopwatch_stop_timer_<%= @issue.id %>',
|
||||
'<%= j Stopwatch::IssueLinks.new(@issue).start_timer %>'
|
||||
|
||||
Reference in New Issue
Block a user