node-red-contrib-mobius-flow-base 2.5.86-beta.37 → 2.5.86-beta.40
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,7 +319,7 @@ 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:
|
|
322
|
+
var uriField = $('<input/>',{class: "node-input-mobject-uri", type: "text", style: "width: 150px; margin-left: 5px; text-align: left;"}).appendTo(row);
|
|
323
323
|
|
|
324
324
|
// *** MOBSEARCH *** //
|
|
325
325
|
var searchField = $('<a class="searchbutton" style="vertical-align: middle"><i id="node-lookup-instance-icon" class="fa fa-search"></i></a>').appendTo(row);
|
|
@@ -332,8 +332,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
332
332
|
// Populate the new stat
|
|
333
333
|
uriField.val(mobject.uri);
|
|
334
334
|
commentField.val(mobject.comment);
|
|
335
|
-
|
|
336
|
-
resizeObject(container);
|
|
335
|
+
// resizeObject(container);
|
|
337
336
|
|
|
338
337
|
// *** MOBSEARCH *** //
|
|
339
338
|
|
|
@@ -364,13 +363,24 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
364
363
|
// *** MOBSEARCH *** //
|
|
365
364
|
|
|
366
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(i);
|
|
371
|
+
node.mobjects[i].comment = comment;
|
|
372
|
+
})
|
|
367
373
|
$("#node-input-mobjects-container").editableList('empty');
|
|
368
374
|
for (let i = 0; i < node.mobjects.length; i++) {
|
|
369
375
|
let mobject = node.mobjects[i];
|
|
370
376
|
$("#node-input-mobjects-container").editableList('addItem', mobject);
|
|
371
377
|
}
|
|
372
378
|
}
|
|
373
|
-
|
|
379
|
+
|
|
380
|
+
for (let i = 0; i < node.mobjects.length; i++) {
|
|
381
|
+
let mobject = node.mobjects[i];
|
|
382
|
+
$("#node-input-mobjects-container").editableList('addItem', mobject);
|
|
383
|
+
}
|
|
374
384
|
|
|
375
385
|
// *** END MOBSEARCH *** //
|
|
376
386
|
},
|