 
   $("#create-new-organ a.close-modal").click () ->
     router.setRoute '/'
-    return false
-
-  $("#create-new-organ a.submit").click () ->
-    $.post '/fi/organs', $('#create-new-organ').serialize(), (data) ->
-      router.setRoute "/organs/#{data._id}"
     return false
 
   $("#single-organ a.application-call").click () ->

newOrgan = ->
  openNewOrganDialog()

organ = (id) ->
  window.location = "/fi/organs/#{id}"

$(document).ready ->
  $("select, input:checkbox, input:radio, input:file, input:text, textarea, submit").uniform()


    "/organ/new" :
      on:    newOrgan
      after: closeNewOrganDialog
  )

  router.init()
