node-red-contrib-mobius-flow-base 2.5.86-beta.31 → 2.5.86-beta.35
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.
|
@@ -34,7 +34,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
34
34
|
<label for="node-input-connection"><i class="fa fa-globe"></i> MOBiUS</label>
|
|
35
35
|
<input type="text" id="node-input-connection">
|
|
36
36
|
</div>
|
|
37
|
-
<div id="node-input-
|
|
37
|
+
<div id="node-input-mobjects-container-row" class="form-row node-input-mobjects-container-row">
|
|
38
38
|
<label for="node-input-mobjects-container"><i class="fa fa-bars"></i> Objects</label>
|
|
39
39
|
<ol id="node-input-mobjects-container"></ol>
|
|
40
40
|
</div>
|
|
@@ -228,7 +228,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
228
228
|
$("#node-search-return").addClass('disabled');
|
|
229
229
|
$("#node-search-accept").addClass('disabled');
|
|
230
230
|
$("#instance-search-row").hide();
|
|
231
|
-
$('#node-input-
|
|
231
|
+
$('#node-input-mobjects-container-row').show();
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
//Function to update if accept button is grade out and functions based on conditions of fields
|
|
@@ -272,7 +272,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
272
272
|
$("#node-search-return").addClass('disabled');
|
|
273
273
|
$("#node-search-accept").addClass('disabled');
|
|
274
274
|
$("#instance-search-row").hide();
|
|
275
|
-
$('#node-input-
|
|
275
|
+
$('#node-input-mobjects-container-row').show();
|
|
276
276
|
});
|
|
277
277
|
$("#node-search-accept").click(function () { //Accept button clicked
|
|
278
278
|
if (readyToAccept) {
|
|
@@ -341,7 +341,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
341
341
|
|
|
342
342
|
searchField.click(function () {
|
|
343
343
|
globalSubscriptionIndex = i;
|
|
344
|
-
$('#node-input-
|
|
344
|
+
$('#node-input-mobjects-container-row').hide();
|
|
345
345
|
$("#instance-search-sid").val('');
|
|
346
346
|
$("#instance-search-pid").val('');
|
|
347
347
|
$("#instance-search-ins").val('');
|
|
@@ -362,23 +362,26 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
362
362
|
// *** MOBSEARCH *** //
|
|
363
363
|
|
|
364
364
|
function updateList() {
|
|
365
|
-
$("#node-input-
|
|
365
|
+
$("#node-input-mobjects-container").editableList('empty');
|
|
366
366
|
for (let i = 0; i < node.mobjects.length; i++) {
|
|
367
367
|
let mobject = node.mobjects[i];
|
|
368
|
-
$("#node-input-
|
|
368
|
+
$("#node-input-mobjects-container").editableList('addItem', mobject);
|
|
369
369
|
}
|
|
370
|
+
$("#node-input-mobjects-container").editableList('items').each(function (i) {
|
|
371
|
+
resizeObject($(this));
|
|
372
|
+
})
|
|
370
373
|
}
|
|
371
374
|
updateList()
|
|
372
375
|
|
|
373
376
|
// *** END MOBSEARCH *** //
|
|
374
377
|
},
|
|
375
378
|
oneditresize(size) {
|
|
376
|
-
var rows = $("#dialog-form>div:not(.node-input-mobjects-container
|
|
379
|
+
var rows = $("#dialog-form>div:not(.node-input-mobjects-container)");
|
|
377
380
|
var height = size.height;
|
|
378
381
|
for (var i=0; i<rows.size(); i++) {
|
|
379
382
|
height -= $(rows[i]).outerHeight(true);
|
|
380
383
|
}
|
|
381
|
-
var editorRow = $("#dialog-form>div.node-input-mobjects-container
|
|
384
|
+
var editorRow = $("#dialog-form>div.node-input-mobjects-container");
|
|
382
385
|
height -= 4 * ((parseInt(editorRow.css("marginTop"))+parseInt(editorRow.css("marginBottom"))));
|
|
383
386
|
|
|
384
387
|
$("#node-input-mobjects-container").editableList('height',height);
|