Skip to content

Commit

Permalink
(1.1.1) Fix default value of new timeout configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Frnacescon committed Apr 27, 2017
1 parent 7f6bb46 commit e0c4f68
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version: 1.1.1
------------
- Fix default value of new timeout configuration

Version: 1.1.0
------------
- Implement timeout parameter, as we may have higher delays than the default one in unstable networks
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-s7",
"version": "1.1.0",
"version": "1.1.1",
"description": "A Node-RED node to interact with Siemens S7 PLCs",
"main": "index.js",
"dependencies": {
Expand Down
6 changes: 3 additions & 3 deletions red/s7.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@
cycletime: {
value: 500
},
timeout: {
value: 1500
},
name: {
value: ""
},
Expand Down Expand Up @@ -192,9 +195,6 @@
$("#node-config-input-timeout").spinner({
min: 500
});
if(this.timeout == undefined) {
$("#node-config-input-timeout").val(1500);
}

if(self.vartable) {
if(typeof self.vartable == 'string') {
Expand Down

0 comments on commit e0c4f68

Please sign in to comment.