mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Merge branch 'master' into 0.18
This commit is contained in:
		@@ -978,6 +978,8 @@ RED.editor = (function() {
 | 
			
		||||
                                                if (outputsChanged) {
 | 
			
		||||
                                                    changed = true;
 | 
			
		||||
                                                }
 | 
			
		||||
                                            } else {
 | 
			
		||||
                                                newValue = parseInt(newValue);
 | 
			
		||||
                                            }
 | 
			
		||||
                                        }
 | 
			
		||||
                                        if (editing_node[d] != newValue) {
 | 
			
		||||
 
 | 
			
		||||
@@ -70,6 +70,9 @@
 | 
			
		||||
        label: function() {
 | 
			
		||||
            return this.name;
 | 
			
		||||
        },
 | 
			
		||||
        labelStyle: function() {
 | 
			
		||||
            return this.name?"node_label_italic":"";
 | 
			
		||||
        },
 | 
			
		||||
        oneditprepare: function() {
 | 
			
		||||
            var that = this;
 | 
			
		||||
            $( "#node-input-outputs" ).spinner({
 | 
			
		||||
 
 | 
			
		||||
@@ -101,6 +101,9 @@
 | 
			
		||||
        label: function() {
 | 
			
		||||
            return this.name;
 | 
			
		||||
        },
 | 
			
		||||
        labelStyle: function() {
 | 
			
		||||
            return this.name?"node_label_italic":"";
 | 
			
		||||
        },
 | 
			
		||||
        oneditprepare: function() {
 | 
			
		||||
            var that = this;
 | 
			
		||||
            if (!this.fieldType) {
 | 
			
		||||
 
 | 
			
		||||
@@ -135,7 +135,7 @@ module.exports = function(RED) {
 | 
			
		||||
            }
 | 
			
		||||
            var payload = null;
 | 
			
		||||
 | 
			
		||||
            if (typeof msg.payload !== "undefined" && (method == "POST" || method == "PUT" || method == "PATCH" ) ) {
 | 
			
		||||
            if (typeof msg.payload !== "undefined") {
 | 
			
		||||
                if (typeof msg.payload === "string" || Buffer.isBuffer(msg.payload)) {
 | 
			
		||||
                    payload = msg.payload;
 | 
			
		||||
                } else if (typeof msg.payload == "number") {
 | 
			
		||||
 
 | 
			
		||||
@@ -114,6 +114,9 @@
 | 
			
		||||
        label: function() {
 | 
			
		||||
            return this.name||"switch";
 | 
			
		||||
        },
 | 
			
		||||
        labelStyle: function() {
 | 
			
		||||
            return this.name?"node_label_italic":"";
 | 
			
		||||
        },
 | 
			
		||||
        oneditprepare: function() {
 | 
			
		||||
            var node = this;
 | 
			
		||||
            var previousValueType = {value:"prev",label:this._("inject.previous"),hasValue:false};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user