From f7652d7f6c1930b53eb7d2342564045ccc2eff49 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 8 Feb 2016 08:30:38 +0100 Subject: [PATCH] Fixed channel selection. --- .../javascripts/app/controllers/_profile/notification.coffee | 2 +- app/assets/javascripts/app/views/profile/notification.jst.eco | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_profile/notification.coffee b/app/assets/javascripts/app/controllers/_profile/notification.coffee index 4169e3f7e..d3cfd56f8 100644 --- a/app/assets/javascripts/app/controllers/_profile/notification.coffee +++ b/app/assets/javascripts/app/controllers/_profile/notification.coffee @@ -88,7 +88,7 @@ class Index extends App.Controller else params.notification_config[area[0]][area[1]][area[2]] = { email: true - online: false + online: true } if !params.notification_config.group_ids || _.isEmpty(params.notification_config.group_ids) params.notification_config.group_ids = ['-'] diff --git a/app/assets/javascripts/app/views/profile/notification.jst.eco b/app/assets/javascripts/app/views/profile/notification.jst.eco index 158d6db69..c0f5e363c 100644 --- a/app/assets/javascripts/app/views/profile/notification.jst.eco +++ b/app/assets/javascripts/app/views/profile/notification.jst.eco @@ -22,7 +22,7 @@ checked<% end %>/> checked<% end %>/> checked<% end %>/> - checked<% end %>/> + checked<% end %>/> <% end %> <% end %>