Files
stopwatch/app/views/stopwatch_timers/start.js.erb
2020-04-24 17:20:18 +08:00

10 lines
261 B
Plaintext

<% if params[:context] %>
contextMenuHide();
<% else %>
hideModal();
$('#ajax-modal').html('<%= j render partial: 'new' %>');
showModal('ajax-modal', '700px');
<% end %>
Stopwatch.highlightTimer('<%= @started_time_entry.id if @started_time_entry %>');