From 24390fe4f3f9607302b5a4ee8e8c9e61c913fb26 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 15 Mar 2016 17:09:38 +0100 Subject: [PATCH] Fixed full screen for auto wizard. --- .../app/controllers/_application_controller_generic.coffee | 3 +++ app/assets/javascripts/app/controllers/getting_started.coffee | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/_application_controller_generic.coffee b/app/assets/javascripts/app/controllers/_application_controller_generic.coffee index 50f586140..86f22598e 100644 --- a/app/assets/javascripts/app/controllers/_application_controller_generic.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller_generic.coffee @@ -728,6 +728,9 @@ class App.WizardModal extends App.Controller if type @$(".#{screen}").find("[name=\"options::#{field}\"]").closest('.form-group').addClass('has-error') + render: -> + # do nothing + class App.WizardFullScreen extends App.WizardModal className: 'getstarted fit' diff --git a/app/assets/javascripts/app/controllers/getting_started.coffee b/app/assets/javascripts/app/controllers/getting_started.coffee index f9541a037..6809e910a 100644 --- a/app/assets/javascripts/app/controllers/getting_started.coffee +++ b/app/assets/javascripts/app/controllers/getting_started.coffee @@ -59,7 +59,7 @@ class Index extends App.WizardFullScreen App.Config.set( 'getting_started', Index, 'Routes' ) -class AutoWizard extends App.ControllerContent +class AutoWizard extends App.WizardFullScreen constructor: -> super