From 8b7c787c42fb948f120bf586d8ccad202d657e4c Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 15 Dec 2015 01:29:05 +0100 Subject: [PATCH] Added new switch to header. --- .../javascripts/app/controllers/_channel/form.coffee | 3 +++ .../javascripts/app/views/channel/form.jst.eco | 12 ++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_channel/form.coffee b/app/assets/javascripts/app/controllers/_channel/form.coffee index ba587fe0c..bc4517345 100644 --- a/app/assets/javascripts/app/controllers/_channel/form.coffee +++ b/app/assets/javascripts/app/controllers/_channel/form.coffee @@ -27,6 +27,9 @@ class App.ChannelForm extends App.Controller @updateParams() + release: => + App.Setting.unsubscribe(@subscribeId) + updateParams: -> quote = (string) -> string = string.replace('\'', '\\\'') diff --git a/app/assets/javascripts/app/views/channel/form.jst.eco b/app/assets/javascripts/app/views/channel/form.jst.eco index decd2070d..fe6351abb 100644 --- a/app/assets/javascripts/app/views/channel/form.jst.eco +++ b/app/assets/javascripts/app/views/channel/form.jst.eco @@ -1,19 +1,15 @@

<%- @T('With form you can add a formular to your web page witch directly generates a Ticket for you.') %>

-

<%- @T('Enable') %>/<%- @T('Disable') %>

-
-
- checked<% end %>> - -
-
-

<%- @T('Designer') %>