             loaded_urn += urn_prefix_matches[2]
           else
             loaded_urn += ".#{existing_versions}"
-          console.log "Loading data from: #{loaded_urn}"
+          load_collection_form_from_urn(loaded_urn)
           callback(latest_urn)
         else # invalid URN passed in, strip and retry
           console.log "No existing versions for passed URN, constructing latest URN from scratch"

  converter = new Markdown.Converter()
  for suffix in $(".pagedown_suffix")
    console.log "Running Markdown editor for: #{$(suffix).val()}"
    editor = new Markdown.Editor(converter,"-#{$(suffix).val()}")
    editor.run()

  # if we have Flash, put clippy helpers on all the inputs
  if swfobject.hasFlashPlayerVersion('9')

  if arguments.length == 4
    urn += ".#{version}"
  return urn

pagedown_editors = {}

disable_collection_form = ->
  $('#collection_form').children().prop('disabled',true)
