mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	fix empty placeholder not shown on remove from group
This commit is contained in:
		| @@ -384,8 +384,13 @@ RED.sidebar.info.outliner = (function() { | ||||
|         } else { | ||||
|             existingObject.element.find(".red-ui-info-outline-item-label").html(" "); | ||||
|         } | ||||
|         if (parent !== existingObject.parent.id) { | ||||
|         var oldParent = existingObject.parent; | ||||
|         var oldParentID = oldParent.id; | ||||
|         if (parent !== oldParentID) { | ||||
|             existingObject.treeList.remove(true); | ||||
|             if (oldParent.children.length === 0) { | ||||
|                 objects[oldParentID].treeList.addChild(getEmptyItem(oldParentID)); | ||||
|             } | ||||
|             if (parent === "__global__") { | ||||
|                 globalConfigNodes.treeList.addChild(existingObject); | ||||
|             } else { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user