node-red-contrib-mobius-flow-base 2.5.86-beta.35 → 2.5.86-beta.39
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.
|
@@ -319,19 +319,20 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
var row = $('<div>URI</div>').appendTo(container);
|
|
322
|
-
var uriField = $('<input/>',{class: "node-input-mobject-uri", type: "text", style: "width:
|
|
323
|
-
row.append(' - ');
|
|
322
|
+
var uriField = $('<input/>',{class: "node-input-mobject-uri", type: "text", style: "width: 150px; margin-left: 5px; text-align: left;"}).appendTo(row);
|
|
324
323
|
|
|
325
324
|
// *** MOBSEARCH *** //
|
|
326
325
|
var searchField = $('<a class="searchbutton" style="vertical-align: middle"><i id="node-lookup-instance-icon" class="fa fa-search"></i></a>').appendTo(row);
|
|
327
326
|
// *** END MOBSEARCH *** //
|
|
328
327
|
|
|
329
|
-
|
|
328
|
+
row.append(' - ');
|
|
329
|
+
|
|
330
|
+
var commentField = $('<input/>',{class: "node-input-mobject-comment", type: "text", style: "width: 150px; margin-left: 5px; text-align: left;"}).appendTo(row);
|
|
330
331
|
|
|
331
332
|
// Populate the new stat
|
|
332
333
|
uriField.val(mobject.uri);
|
|
333
334
|
commentField.val(mobject.comment);
|
|
334
|
-
resizeObject(container);
|
|
335
|
+
// resizeObject(container);
|
|
335
336
|
|
|
336
337
|
// *** MOBSEARCH *** //
|
|
337
338
|
|
|
@@ -362,16 +363,23 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
362
363
|
// *** MOBSEARCH *** //
|
|
363
364
|
|
|
364
365
|
function updateList() {
|
|
366
|
+
$("#node-input-mobjects-container").editableList('items').each(function (i) {
|
|
367
|
+
let mobject = $(this);
|
|
368
|
+
let uri = mobject.find(".node-input-mobject-uri").val();
|
|
369
|
+
let comment = mobject.find(".node-input-mobject-comment").val();
|
|
370
|
+
console.log(comment);
|
|
371
|
+
})
|
|
365
372
|
$("#node-input-mobjects-container").editableList('empty');
|
|
366
373
|
for (let i = 0; i < node.mobjects.length; i++) {
|
|
367
374
|
let mobject = node.mobjects[i];
|
|
368
375
|
$("#node-input-mobjects-container").editableList('addItem', mobject);
|
|
369
376
|
}
|
|
370
|
-
$("#node-input-mobjects-container").editableList('items').each(function (i) {
|
|
371
|
-
resizeObject($(this));
|
|
372
|
-
})
|
|
373
377
|
}
|
|
374
|
-
|
|
378
|
+
|
|
379
|
+
for (let i = 0; i < node.mobjects.length; i++) {
|
|
380
|
+
let mobject = node.mobjects[i];
|
|
381
|
+
$("#node-input-mobjects-container").editableList('addItem', mobject);
|
|
382
|
+
}
|
|
375
383
|
|
|
376
384
|
// *** END MOBSEARCH *** //
|
|
377
385
|
},
|