     @parent.createChildNode(newNode)
     @$el.replaceWith(newNode.$el)
     newNode.flushChanges() # should integrate
-    
+
+
   # Child node utilities ------------------------------------------------------
   integrateChildTreema: (treema) ->
     treema.justCreated = false # no longer in limbo

    @$el.addClass('treema-last-selected')
    TreemaNode.didSelect = true

  # Switching working schema --------------------------------------------------

  onSelectSchema: (e) =>
    index = parseInt($(e.target).val())


  @didSelect = false
  @changedTreemas = []
