picker changes for calendar
This commit is contained in:
parent
177df2738b
commit
7db11d7fef
File diff suppressed because one or more lines are too long
|
@ -40,9 +40,11 @@ class Admin::CalendarTypesController < OrbitAdminController
|
|||
calendar.update_attributes(calendar_type_params)
|
||||
calendar.save
|
||||
category = calendar.category
|
||||
if !category.nil?
|
||||
category.title_translations = calendar_type_params["title_translations"]
|
||||
category.save
|
||||
end
|
||||
end
|
||||
redirect_to admin_calendar_types_path
|
||||
|
||||
end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<%= stylesheet_link_tag "jquery.miniColors" %>
|
||||
|
||||
<%= javascript_include_tag "jquery.miniColors.min" %>
|
||||
<%= javascript_include_tag "jquery.miniColors.min.calendar" %>
|
||||
<%= javascript_include_tag "category_type" %>
|
||||
|
||||
<div id="categories_index">
|
||||
|
|
Loading…
Reference in New Issue