@jambonz/node-red-contrib-jambonz 2.4.20 → 2.4.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/node-red-contrib-jambonz",
3
- "version": "2.4.20",
3
+ "version": "2.4.21",
4
4
  "description": "Node-RED nodes for jambonz platform",
5
5
  "keywords": [
6
6
  "node-red"
@@ -72,13 +72,13 @@
72
72
  prepareTtsControls(node);
73
73
  prepareSttControls(node);
74
74
 
75
- destElem.change(onDestChanged);
76
-
77
75
  var onDestChanged = function () {
78
76
  var selectedDest = destElem.find(':selected').val();
79
77
  if ('phone' === selectedDest) trunkDiv.show();
80
78
  else trunkDiv.hide();
81
79
  }
80
+
81
+ destElem.change(onDestChanged);
82
82
 
83
83
  $('#node-input-from').typedInput({
84
84
  default: $('#node-input-fromType').val(),
@@ -111,7 +111,7 @@
111
111
  });
112
112
  $('#node-input-trunk').typedInput({
113
113
  default: $('#node-input-trunkType').val(),
114
- types: ['num', 'msg', 'flow', 'global', 'jsonata', 'env', mustacheType],
114
+ types: ['str', 'msg', 'flow', 'global', 'jsonata', 'env', mustacheType],
115
115
  typeField: $('#node-input-trunkType')
116
116
  });
117
117
  var populateApplications = function() {