mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-04-02 09:51:57 -04:00
10 lines
262 B
Plaintext
10 lines
262 B
Plaintext
<% if @started_time_entry %>
|
|
contextMenuHide();
|
|
window.stopwatch.timerStarted(
|
|
<%= raw Stopwatch::Timer.new(User.current).to_json %>
|
|
);
|
|
<% else %>
|
|
$('#ajax-modal').html('<%= j render partial: 'new' %>');
|
|
showModal('ajax-modal', '700px');
|
|
<% end %>
|