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