 			# console.debug @._key, @getUniqueId(), "children loaded", @children.length
 
 			if @children.length == 0
-				@is_open = true
-				@do_open = false
 				if not @isRoot()
 					@replaceSelf()
 				do_resolve()

						chunk_size: 1
						timeout: -1
						call: (_items) =>
							if @__loadingDeferred.state() == "rejected"
								return false
							@__appendNode(_items[0], true) # , false, true))

			.done =>
				@is_open = true
				@do_open = false
				if not @isRoot()
					@replaceSelf()
				do_resolve()
			.fail =>
				for c in @children
					c.removeFromDOM()
				do_reject()

			return
		CUI.error("ListViewTreeNode.abortLoading: Aborting chunk loading.")
		@__loadingDeferred.reject()
		@__loadingDeferred = null
		return

	__open_counter: 0

	# resolves with the opened node
	open: ->
