1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

config node userProperties should only permit json

This commit is contained in:
Steve-Mcl 2020-12-07 11:45:02 +00:00
parent 27550f2d4b
commit b72ea63100

View File

@ -609,7 +609,7 @@
$("#node-config-input-protocolVersion").val(this.protocolVersion); $("#node-config-input-protocolVersion").val(this.protocolVersion);
$("#node-config-input-userProperties").typedInput({ $("#node-config-input-userProperties").typedInput({
default: "json", default: "json",
types:['json','flow','global'], types:['json'],
typeField: $("#node-config-input-userPropertiesType") typeField: $("#node-config-input-userPropertiesType")
}); });
if (typeof this.keepalive === 'undefined') { if (typeof this.keepalive === 'undefined') {