]> source.dussan.org Git - redmine.git/commitdiff
Cannot set activity to None.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 23 Oct 2016 12:03:25 +0000 (12:03 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 23 Oct 2016 12:03:25 +0000 (12:03 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@15925 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/context_menus/time_entries.html.erb

index 5f6ebd7ef05c5f0a047187089914d211076a1130..33e0aa1f36499f43579e604e1fc0395382d00361 100644 (file)
@@ -17,8 +17,6 @@
         <li><%= context_menu_link u.name, {:controller => 'timelog', :action => 'bulk_update', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => u}, :back_url => @back}, :method => :post,
                                   :selected => (@time_entry && u == @time_entry.activity), :disabled => !@can[:edit] %></li>
     <% end -%>
-        <li><%= context_menu_link l(:label_none), {:controller => 'timelog', :action => 'bulk_update', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => 'none'}, :back_url => @back}, :method => :post,
-                                  :selected => (@time_entry && @time_entry.activity.nil?), :disabled => !@can[:edit] %></li>
     </ul>
   </li>
   <% end %>