mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	[outline] Reveal selected item after clearing outline filter
This commit is contained in:
		| @@ -730,6 +730,8 @@ | ||||
|             if (s.length) { | ||||
|                 return s.parent().data('data'); | ||||
|             } else { | ||||
|                 // TODO: This may be a bug.. it causes the call to return itself | ||||
|                 // not undefined. | ||||
|                 return undefined; | ||||
|             } | ||||
|         }, | ||||
|   | ||||
| @@ -217,6 +217,10 @@ RED.sidebar.info.outliner = (function() { | ||||
|                     },true) | ||||
|                 } else { | ||||
|                     treeList.treeList('filter',null); | ||||
|                     var selected = treeList.treeList('selected'); | ||||
|                     if (selected.id) { | ||||
|                         treeList.treeList('show',selected.id); | ||||
|                     } | ||||
|  | ||||
|                 } | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user