mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Only update disabled workspace css if it is the active ws
This commit is contained in:
		| @@ -372,7 +372,9 @@ RED.workspaces = (function() { | ||||
|             var changes = { disabled: workspace.disabled }; | ||||
|             workspace.disabled = disabled; | ||||
|             $("#red-ui-tab-"+(workspace.id.replace(".","-"))).toggleClass('red-ui-workspace-disabled',!!workspace.disabled); | ||||
|             $("#red-ui-workspace").toggleClass("red-ui-workspace-disabled",!!workspace.disabled); | ||||
|             if (id === activeWorkspace) { | ||||
|                 $("#red-ui-workspace").toggleClass("red-ui-workspace-disabled",!!workspace.disabled); | ||||
|             } | ||||
|             var historyEvent = { | ||||
|                 t: "edit", | ||||
|                 changes:changes, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user