mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Add flows:reorder event
This commit is contained in:
		| @@ -348,6 +348,9 @@ RED.nodes = (function() { | ||||
|             workspacesOrder.splice(targetIndex,0,ws.id); | ||||
|         } | ||||
|         RED.events.emit('flows:add',ws); | ||||
|         if (targetIndex !== undefined) { | ||||
|             RED.events.emit('flows:reorder',workspacesOrder) | ||||
|         } | ||||
|     } | ||||
|     function getWorkspace(id) { | ||||
|         return workspaces[id]; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user