Skip to content

Commit

Permalink
Fixes close link after time entry save
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex committed Jan 31, 2013
1 parent b399d6b commit d3c908a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/bulk_time_entries_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def save
#{Time.now.strftime('%H:%M')}:
#{l(:text_time_added_to_project, :hours => @time_entry.hours, :project => @time_entry.project.name)}
#{" (#{@time_entry.comments})" unless @time_entry.comments.blank?}.
<a href=\"javascript:void(null)\" onclick=\"$(this).closest('div.box').remove()\"><img src=\"/images/close.png\" /></a>
<a href=\"javascript:void(null)\" onclick=\"$(this).closest('form').remove()\"><img src=\"/images/close.png\" /></a>
</div>
"
end
Expand Down

0 comments on commit d3c908a

Please sign in to comment.