node-red-contrib-mobius-flow-base 2.5.86-beta.32 → 2.5.86-beta.36
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.
|
@@ -331,6 +331,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
331
331
|
// Populate the new stat
|
|
332
332
|
uriField.val(mobject.uri);
|
|
333
333
|
commentField.val(mobject.comment);
|
|
334
|
+
console.log(container)
|
|
334
335
|
resizeObject(container);
|
|
335
336
|
|
|
336
337
|
// *** MOBSEARCH *** //
|
|
@@ -367,18 +368,22 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
367
368
|
let mobject = node.mobjects[i];
|
|
368
369
|
$("#node-input-mobjects-container").editableList('addItem', mobject);
|
|
369
370
|
}
|
|
371
|
+
$("#node-input-mobjects-container").editableList('items').each(function (i) {
|
|
372
|
+
console.log($(this));
|
|
373
|
+
resizeObject($(this));
|
|
374
|
+
})
|
|
370
375
|
}
|
|
371
376
|
updateList()
|
|
372
377
|
|
|
373
378
|
// *** END MOBSEARCH *** //
|
|
374
379
|
},
|
|
375
380
|
oneditresize(size) {
|
|
376
|
-
var rows = $("#dialog-form>div:not(.node-input-mobjects-container
|
|
381
|
+
var rows = $("#dialog-form>div:not(.node-input-mobjects-container)");
|
|
377
382
|
var height = size.height;
|
|
378
383
|
for (var i=0; i<rows.size(); i++) {
|
|
379
384
|
height -= $(rows[i]).outerHeight(true);
|
|
380
385
|
}
|
|
381
|
-
var editorRow = $("#dialog-form>div.node-input-mobjects-container
|
|
386
|
+
var editorRow = $("#dialog-form>div.node-input-mobjects-container");
|
|
382
387
|
height -= 4 * ((parseInt(editorRow.css("marginTop"))+parseInt(editorRow.css("marginBottom"))));
|
|
383
388
|
|
|
384
389
|
$("#node-input-mobjects-container").editableList('height',height);
|