         @deleteComment(node.id)
         @deleteBranch(node)
 
-    @stateLogger.deleteTree(tree)
+    if informServer
+      @stateLogger.deleteTree(tree)
     @trigger("deleteTree", index)
     
     # Because we always want an active tree, check if we need

      @deleteTree(false)


  deleteTree : (notify, id, deleteBranchesAndComments) ->

    if notify
      if confirm("Do you really want to delete the whole tree?")
        @reallyDeleteTree(id, deleteBranchesAndComments)
      else
        return
    else
      @reallyDeleteTree(id, deleteBranchesAndComments)


  reallyDeleteTree : (id, deleteBranchesAndComments = true) ->

    unless id
      id = @activeTree.treeId


        @trigger("mergeTree", lastTree.treeId, lastNode, @activeNode)

        @deleteTree(false, lastTree.treeId, false, false)

        @setActiveNode(activeNodeID)
      else
