mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	| @@ -65,7 +65,7 @@ Node.prototype.updateWires = function(wires) { | ||||
| } | ||||
| Node.prototype.context = function() { | ||||
|     if (!this._context) { | ||||
|          this._context = context.get(this._alias||this.id,this.z); | ||||
|         this._context = context.get(this._alias||this.id,this.z); | ||||
|     } | ||||
|     return this._context; | ||||
| } | ||||
|   | ||||
| @@ -44,9 +44,9 @@ function getContext(localId,flowId) { | ||||
|     var newContext = createContext(contextId); | ||||
|     if (flowId) { | ||||
|         newContext.flow = getContext(flowId); | ||||
|         if (globalContext) { | ||||
|             newContext.global = globalContext; | ||||
|         } | ||||
|     } | ||||
|     if (globalContext) { | ||||
|         newContext.global = globalContext; | ||||
|     } | ||||
|     contexts[contextId] = newContext; | ||||
|     return newContext; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user