mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Undo subflow rename not reflected in palette
This commit is contained in:
		| @@ -193,6 +193,7 @@ RED.history = (function() { | ||||
|                 } | ||||
|                 RED.view.dirty(ev.dirty); | ||||
|                 RED.view.redraw(); | ||||
|                 RED.palette.refresh(); | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|   | ||||
| @@ -28,6 +28,7 @@ RED.editor = (function() { | ||||
|      * @returns {boolean} whether the node is valid. Sets node.dirty if needed | ||||
|      */ | ||||
|     function validateNode(node) { | ||||
|         if (node._def) { | ||||
|             var oldValue = node.valid; | ||||
|             node.valid = validateNodeProperties(node, node._def.defaults, node); | ||||
|             if (node._def._creds) { | ||||
| @@ -37,6 +38,7 @@ RED.editor = (function() { | ||||
|                 node.dirty = true; | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|      | ||||
|     /** | ||||
|      * Validate a node's properties for the given set of property definitions | ||||
|   | ||||
		Reference in New Issue
	
	Block a user