node-red-contrib-mobius-flow-base 2.5.86-beta.55 → 2.5.86-beta.56

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.
@@ -1,4 +1,4 @@
1
- function getMobsearch(mobiusSrvc, level, listed, fieldName, list) {
1
+ function getMobsearch(mobiusSrvc, level, listed, fieldName, list, updateList, globalIndex) {
2
2
  //level dependent html
3
3
  let rows =
4
4
  level === 'rid'
@@ -89,8 +89,6 @@ POSSIBILITY OF SUCH DAMAGE.
89
89
  let mobiusSrvc = $("#node-input-connection").val();
90
90
  let globalIndex = 0;
91
91
 
92
- getMobsearch(mobiusSrvc, 'rid', true, null, node.resources)
93
-
94
92
  /** Create the subs container and populate it */
95
93
  $('#node-input-resources-container').css('min-height', '300px').css('min-width', '450px').editableList ({
96
94
  addButton: "add",
@@ -165,6 +163,8 @@ POSSIBILITY OF SUCH DAMAGE.
165
163
  }
166
164
  }
167
165
 
166
+ getMobsearch(mobiusSrvc, 'rid', true, null, node.resources, updateList, globalIndex)
167
+
168
168
  // *** END MOBSEARCH *** //
169
169
 
170
170
  for (let i = 0; i < node.resources.length; i++) {
@@ -106,7 +106,7 @@ POSSIBILITY OF SUCH DAMAGE.
106
106
  var node = this;
107
107
  let mobiusSrvc = $("#node-input-connection").val();
108
108
 
109
- getMobsearch(mobiusSrvc, 'ins', 'node-input-instance')
109
+ getMobsearch(mobiusSrvc, 'ins', false, 'node-input-instance', null, null, null)
110
110
  },
111
111
  oneditsave: function() {
112
112
  if($("#node-input-detailedOutput").prop('checked')) {
@@ -98,7 +98,7 @@ POSSIBILITY OF SUCH DAMAGE.
98
98
  oneditprepare: function () {
99
99
  var node = this;
100
100
  let mobiusSrvc = $("#node-input-connection").val();
101
- getMobsearch(mobiusSrvc, 'rid', 'node-input-resource');
101
+ getMobsearch(mobiusSrvc, 'rid', false, 'node-input-resource', null, null, null);
102
102
  },
103
103
  oneditsave: function() {
104
104
  if($("#node-input-detailedOutput").prop('checked')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-mobius-flow-base",
3
- "version": "2.5.86-beta.55",
3
+ "version": "2.5.86-beta.56",
4
4
  "description": "Node-RED base nodes for Mobius Flow",
5
5
  "main": "index.js",
6
6
  "types": "dist/index.d.ts",