Use current url ask succession.

This commit is contained in:
Martin Edenhofer 2014-11-01 11:52:57 +01:00
parent dc2b5c584a
commit 3a60d07a24

View file

@ -105,8 +105,9 @@ class Base extends App.ControllerContent
@html App.view('getting_started/base')() @html App.view('getting_started/base')()
# url # url
url = window.location.origin
configureAttributesBase = [ 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( new App.ControllerForm(
el: @$('.base-url'), el: @$('.base-url'),