node-red-contrib-mobius-flow-base 2.5.86-beta.67 → 2.5.86-beta.68
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.
|
@@ -57,6 +57,7 @@ function getMobsearch(mobiusSrvc, useRid, listed, opts) {
|
|
|
57
57
|
<input type="text" id="instance-search-ins" style="width:10%;" placeholder="INS">
|
|
58
58
|
`;
|
|
59
59
|
|
|
60
|
+
// Get current state of input field
|
|
60
61
|
let uriFieldValue = '';
|
|
61
62
|
if (!listed) {
|
|
62
63
|
uriFieldValue = $(`#${opts.uriFieldName}`).val();
|
|
@@ -258,7 +259,7 @@ function getMobsearch(mobiusSrvc, useRid, listed, opts) {
|
|
|
258
259
|
if (/((^([0-9A-F]){6}$)|^$)/.test(searchObject.hid)) {
|
|
259
260
|
$.getJSON(`mgetservices?mobius=${mobiusSrvc}&hid=${searchObject.hid}`, serviceSearch).fail(
|
|
260
261
|
(err) => {
|
|
261
|
-
console.log('
|
|
262
|
+
console.log('Mobsearch failed to contact Mobius');
|
|
262
263
|
}
|
|
263
264
|
);
|
|
264
265
|
}
|
|
@@ -474,6 +475,7 @@ function getMobsearch(mobiusSrvc, useRid, listed, opts) {
|
|
|
474
475
|
});
|
|
475
476
|
}
|
|
476
477
|
|
|
478
|
+
// reset input filed after init
|
|
477
479
|
if (!listed) {
|
|
478
480
|
$(`#${opts.uriFieldName}`).val(uriFieldValue);
|
|
479
481
|
}
|
|
@@ -98,9 +98,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
98
98
|
oneditprepare: function () {
|
|
99
99
|
var node = this;
|
|
100
100
|
let mobiusSrvc = $("#node-input-connection").val();
|
|
101
|
-
|
|
102
|
-
console.log('Foo');
|
|
103
|
-
console.log($("#node-input-resource").val());
|
|
104
101
|
|
|
105
102
|
opts = {
|
|
106
103
|
htmlElementId: 'mobsearch',
|
|
@@ -108,8 +105,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
108
105
|
};
|
|
109
106
|
initMobsearch.toRid(mobiusSrvc, opts);
|
|
110
107
|
|
|
111
|
-
console.log('Bar');
|
|
112
|
-
console.log($("#node-input-resource").val());
|
|
113
108
|
},
|
|
114
109
|
oneditsave: function() {
|
|
115
110
|
if($("#node-input-detailedOutput").prop('checked')) {
|