         url: url
         success: (data) ->
           $("#editname").attr("value",data.name)
-          $("#editdescription").attr("value",data.description)
+          $("#editdescription").val(data.description)
+          $('#textarea1').trigger('autoresize');
+          console.log(data)
           Materialize.updateTextFields();
           return
         error: (req, msg, stat) ->

          return
      e.preventDefault()
      return
    return

    $("#add").submit (e) ->
      console.log("Boo!")

      console.log(active)
      active = $(this).attr("data")
      console.log(active)
      return
    $("#editbut").click (e)->
      active = $(this).attr("data")
      return
    $("#delete").submit (e) ->
      console.log("Boo!")
      url = "/api/project/"+active
