mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	ensure debug status in sync with main option
This commit is contained in:
		| @@ -377,12 +377,16 @@ | ||||
|                 } | ||||
|             }); | ||||
|  | ||||
|  | ||||
|             $("#node-input-tostatus").on('change',function() { | ||||
|                 if ($(this).is(":checked")) { | ||||
|                     if (!that.hasOwnProperty("statusVal") || that.statusVal === "") { | ||||
|                         that.statusType = "msg"; | ||||
|                         that.statusVal = (that.complete === "false") ? "payload" : ((that.complete === "true") ? "payload" : that.complete+"");   | ||||
|                         var type = $("#node-input-typed-complete").typedInput('type'); | ||||
|                         var comp = "payload"; | ||||
|                         if (type !== 'full') { | ||||
|                             comp = $("#node-input-typed-complete").typedInput('value'); | ||||
|                         } | ||||
|                         that.statusType = (type !== "jsonata") ? "msg" : "jsonata"; | ||||
|                         that.statusVal = comp; | ||||
|                     } | ||||
|                     $("#node-input-typed-status").typedInput('type',that.statusType); | ||||
|                     $("#node-input-typed-status").typedInput('value',that.statusVal); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user