Commit daeceb7c authored by gwendal's avatar gwendal
Browse files

add preselected full_unbunding and DslCollectionProvider (close #176)

parent 6791d0db
......@@ -29,3 +29,10 @@ $(function() {
'#dsl_service_full_unbunding',
_collection_provider_or_unbunding_changed)
})
// Call it once first after the document is loaded
$(function() {
$(document).ready(
_collection_provider_or_unbunding_changed
)
})
......@@ -17,6 +17,9 @@ class DslServicesController < ServicesController
# GET /dsl_services/new
# GET /dsl_services/new.json
def new
@dsl_service = DslService.new()
@dsl_service.dsl_collection_provider_id = DslCollectionProvider.first.id
@dsl_service.full_unbunding = true
super
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment