From 3a60d07a24f781dd2fcb345ab7ca489b319749ba Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 1 Nov 2014 11:52:57 +0100 Subject: [PATCH] Use current url ask succession. --- .../javascripts/app/controllers/getting_started.js.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/getting_started.js.coffee b/app/assets/javascripts/app/controllers/getting_started.js.coffee index 81b0b1700..332fbb157 100644 --- a/app/assets/javascripts/app/controllers/getting_started.js.coffee +++ b/app/assets/javascripts/app/controllers/getting_started.js.coffee @@ -105,8 +105,9 @@ class Base extends App.ControllerContent @html App.view('getting_started/base')() # url + url = window.location.origin configureAttributesBase = [ - { name: 'url', display: 'System URL (where the system can be reached)', tag: 'input', null: false, placeholder: 'http://yourhost' }, + { name: 'url', display: 'System URL (where the system can be reached)', tag: 'input', null: false, placeholder: 'http://yourhost', default: url }, ] new App.ControllerForm( el: @$('.base-url'),