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

wrong syntax for checking check box... in change node

This commit is contained in:
Dave C-J 2013-12-24 17:07:07 +00:00
parent e0921f84c4
commit 00202a3930

View File

@ -76,7 +76,7 @@
return this.name ? "node_label_italic" : "";
},
oneditprepare: function() {
if (this.reg === null) { $("#node-input-reg").selected(true); }
if (this.reg === null) { $("#node-input-reg").prop('checked', true); }
$("#node-input-action").change( function() {
var a = $("#node-input-action").val();
if (a === "replace") {