|
26 | 26 | console.log("property_id: " + this.property); |
27 | 27 | if (this.connection) { |
28 | 28 | initThings(this.connection, this.thing); |
29 | | - initProperties(this.connection, this.thing, this.property,outs); |
| 29 | + initProperties(this.connection, this.thing, this.property, outs); |
30 | 30 | } |
31 | 31 | $("select#node-input-connection").change( () => { |
32 | 32 | const connection = $("#node-input-connection").val(); |
|
224 | 224 | console.log("property_id: " + this.property); |
225 | 225 | if (this.connection){ |
226 | 226 | initThings(this.connection, this.thing, this.property); |
227 | | - initProperties(this.connection, this.thing, this.property); |
| 227 | + initProperties(this.connection, this.thing, this.property, 1); |
228 | 228 | } |
229 | 229 | $("select#node-input-connection").change( () => { |
230 | 230 | const connection = $("#node-input-connection").val(); |
|
246 | 246 | $("#node-input-thing").change( () => { |
247 | 247 | const thing_id = $( "#node-input-thing" ).val(); |
248 | 248 | if (thing_id && thing_id !== "0") { |
249 | | - initProperties(this.connection, thing_id); |
| 249 | + initProperties(this.connection, thing_id, 1); |
250 | 250 | } else { |
251 | 251 | $("select#node-input-property").empty(); |
252 | 252 | } |
|
334 | 334 | console.log("property_id: " + this.property); |
335 | 335 | if (this.connection){ |
336 | 336 | initThings(this.connection, this.thing, this.property); |
337 | | - initProperties(this.connection, this.thing, this.property); |
| 337 | + initProperties(this.connection, this.thing, this.property, 1); |
338 | 338 | } |
339 | 339 | $("select#node-input-connection").change( () => { |
340 | 340 | const connection = $("#node-input-connection").val(); |
|
356 | 356 | $("#node-input-thing").change( () => { |
357 | 357 | const thing_id = $( "#node-input-thing" ).val(); |
358 | 358 | if (thing_id && thing_id !== "0") { |
359 | | - initProperties(this.connection, thing_id); |
| 359 | + initProperties(this.connection, thing_id, 1); |
360 | 360 | } else { |
361 | 361 | $("select#node-input-property").empty(); |
362 | 362 | } |
|
441 | 441 | console.log("property_id: " + this.property); |
442 | 442 | if (this.connection){ |
443 | 443 | initThings(this.connection, this.thing, this.property); |
444 | | - initProperties(this.connection, this.thing, this.property); |
| 444 | + initProperties(this.connection, this.thing, this.property, 1); |
445 | 445 | } |
446 | 446 | $("select#node-input-connection").change( () => { |
447 | 447 | const connection = $("#node-input-connection").val(); |
|
463 | 463 | $("#node-input-thing").change( () => { |
464 | 464 | const thing_id = $( "#node-input-thing" ).val(); |
465 | 465 | if (thing_id && thing_id !== "0") { |
466 | | - initProperties(this.connection, thing_id); |
| 466 | + initProperties(this.connection, thing_id, 1); |
467 | 467 | } else { |
468 | 468 | $("select#node-input-property").empty(); |
469 | 469 | } |
|
0 commit comments