diff --git a/app/helpers/admin/announcements_helper.rb b/app/helpers/admin/announcements_helper.rb index b6b90f1..60b9c73 100644 --- a/app/helpers/admin/announcements_helper.rb +++ b/app/helpers/admin/announcements_helper.rb @@ -65,31 +65,31 @@ module Admin::AnnouncementsHelper anns.remote_image_url = val when 8 value["en"] = val - anns.image_description_translations = value + anns.image_description_translations = value.clone when 9 value["zh_tw"] = val - anns.image_description_translations = value + anns.image_description_translations = value.clone value = {} when 10 value["en"] = val - anns.title_translations = value + anns.title_translations = value.clone when 11 value["zh_tw"] = val - anns.title_translations = value + anns.title_translations = value.clone value = {} when 12 value["en"] = val - anns.subtitle_translations = value + anns.subtitle_translations = value.clone when 13 value["zh_tw"] = val - anns.subtitle_translations = value + anns.subtitle_translations = value.clone value = {} when 14 value["en"] = val - anns.text_translations = value + anns.text_translations = value.clone when 15 value["zh_tw"] = val - anns.text_translations = value + anns.text_translations = value.clone value = {} when 16 links = val.split(";") rescue []