mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Default to msg.filename as per v2 condition
This commit is contained in:
parent
59e513f130
commit
f63da0c58b
@ -198,8 +198,8 @@
|
|||||||
category: 'storage',
|
category: 'storage',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
filename: {value:""},
|
filename: {value:"filename"},
|
||||||
filenameType: {value:""},
|
filenameType: {value:"msg"},
|
||||||
appendNewline: {value:true},
|
appendNewline: {value:true},
|
||||||
createDir: {value:false},
|
createDir: {value:false},
|
||||||
overwriteFile: {value:"false"},
|
overwriteFile: {value:"false"},
|
||||||
@ -236,7 +236,7 @@
|
|||||||
label: node._("file.encoding.setbymsg")
|
label: node._("file.encoding.setbymsg")
|
||||||
}).text(label).appendTo(encSel);
|
}).text(label).appendTo(encSel);
|
||||||
$("#node-input-filename").typedInput({
|
$("#node-input-filename").typedInput({
|
||||||
default: "str",
|
default: "msg",
|
||||||
types:[{ value: "str", label:"", icon:"red/images/typedInput/az.svg"}, "msg", "jsonata", "env"],
|
types:[{ value: "str", label:"", icon:"red/images/typedInput/az.svg"}, "msg", "jsonata", "env"],
|
||||||
typeField: $("#node-input-filenameType")
|
typeField: $("#node-input-filenameType")
|
||||||
});
|
});
|
||||||
@ -297,8 +297,8 @@
|
|||||||
category: 'storage',
|
category: 'storage',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
filename: {value:""},
|
filename: {value:"filename"},
|
||||||
filenameType: {value:""},
|
filenameType: {value:"msg"},
|
||||||
format: {value:"utf8"},
|
format: {value:"utf8"},
|
||||||
chunk: {value:false},
|
chunk: {value:false},
|
||||||
sendError: {value: false},
|
sendError: {value: false},
|
||||||
@ -341,7 +341,7 @@
|
|||||||
label: label
|
label: label
|
||||||
}).text(label).appendTo(encSel);
|
}).text(label).appendTo(encSel);
|
||||||
$("#node-input-filename").typedInput({
|
$("#node-input-filename").typedInput({
|
||||||
default: "str",
|
default: "msg",
|
||||||
types:[{ value: "str", label:"", icon:"red/images/typedInput/az.svg"}, "msg", "jsonata", "env"],
|
types:[{ value: "str", label:"", icon:"red/images/typedInput/az.svg"}, "msg", "jsonata", "env"],
|
||||||
typeField: $("#node-input-filenameType")
|
typeField: $("#node-input-filenameType")
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user