Browse Source

Disabling by default was just annoying

denney-fix-saving-dates
Jason Denney 11 years ago
parent
commit
2a6e10ee9d
  1. 2
      app/components/tasks.rb

2
app/components/tasks.rb

@ -2,8 +2,6 @@ class Tasks < Netzke::Basepack::Grid
def configure(c)
super
#disable by default, will be enabled once bike is clicked
c.disabled = true
task_list_id = nil
if session[:selected_bike_id]
task_list_id = Bike.find_by_id(session[:selected_bike_id]).task_list.id

Loading…
Cancel
Save