diff --git a/io/serialport/25-serial.html b/io/serialport/25-serial.html
index 6bf9c382..778bc4ee 100644
--- a/io/serialport/25-serial.html
+++ b/io/serialport/25-serial.html
@@ -213,12 +213,14 @@
-
+
-
@@ -251,7 +253,8 @@
out: {value:"char"},
addchar: {value:""},
responsetimeout: {value: 10000},
- serialReconnectTime: {value: 15000}
+ serialReconnectTime: {value: ""},
+ autoConnect: {value: true}
},
label: function() {
this.serialbaud = this.serialbaud || 57600;
@@ -261,6 +264,8 @@
return this.serialport+":"+this.serialbaud+"-"+this.databits+this.parity.charAt(0).toUpperCase()+this.stopbits;
},
oneditprepare: function() {
+ if(typeof this.autoConnect === "undefined"){ this.autoConnect = true; }
+
var previous = null;
var blist = [
{value:"230400",label:"230400",hasValue:false},
@@ -357,6 +362,7 @@
}).autocomplete("search","");
});
});
+
},
oneditsave: function() {
var mytype = $("#node-config-input-serialbaud").typedInput('type');