mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-04-03 10:11:59 -04:00
works, basically
This commit is contained in:
9
app/views/stopwatch_timers/start.js.erb
Normal file
9
app/views/stopwatch_timers/start.js.erb
Normal file
@@ -0,0 +1,9 @@
|
||||
<% 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 %>');
|
||||
|
||||
Reference in New Issue
Block a user