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
1 changed files with 1 additions and 1 deletions

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") {