From da6352ad199c769c09aab67e0852c8ec1ab08b4f Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 29 Oct 2016 22:54:55 +0200 Subject: [PATCH] Fixed group default selection in twitter/facebook edit screen. --- app/assets/javascripts/app/controllers/_channel/facebook.coffee | 2 +- app/assets/javascripts/app/controllers/_channel/twitter.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_channel/facebook.coffee b/app/assets/javascripts/app/controllers/_channel/facebook.coffee index 3e6ef6281..e34c10a7e 100644 --- a/app/assets/javascripts/app/controllers/_channel/facebook.coffee +++ b/app/assets/javascripts/app/controllers/_channel/facebook.coffee @@ -144,7 +144,7 @@ class Index extends App.ControllerSubContent null: false relation: 'Group' nulloption: true - default: selected_id + value: selected_id class: 'form-control--small' ) el.html(selection) diff --git a/app/assets/javascripts/app/controllers/_channel/twitter.coffee b/app/assets/javascripts/app/controllers/_channel/twitter.coffee index a8ae0fbd0..c6414e349 100644 --- a/app/assets/javascripts/app/controllers/_channel/twitter.coffee +++ b/app/assets/javascripts/app/controllers/_channel/twitter.coffee @@ -137,7 +137,7 @@ class Index extends App.ControllerSubContent null: false relation: 'Group' nulloption: true - default: selected_id + value: selected_id class: 'form-control--small' )