@kumologica/sdk 3.0.21 → 3.0.22
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.
- package/package.json +5 -5
- package/src/app/preload.js +0 -1
- package/src/app/ui/editor-client/public/red/red.js +15 -10
- package/src/app/ui/editor-client/public/red/red.min.js +1 -1
- package/src/app/ui/editor-client/src/js/ui/common/tabs.js +13 -8
- package/src/app/ui/editor-client/src/js/ui/view.js +2 -2
|
@@ -723,14 +723,19 @@ RED.tabs = (function () {
|
|
|
723
723
|
return ul.find("a[href='#" + id + "']").length > 0;
|
|
724
724
|
},
|
|
725
725
|
renameTab: function (id, label) {
|
|
726
|
-
tabs[id]
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
726
|
+
if (tabs[id]){
|
|
727
|
+
tabs[id].label = label;
|
|
728
|
+
var tab = ul.find("a[href='#" + id + "']");
|
|
729
|
+
tab.attr('title', label);
|
|
730
|
+
tab
|
|
731
|
+
.find('span.bidiAware')
|
|
732
|
+
.text(label)
|
|
733
|
+
.attr('dir', RED.text.bidi.resolveBaseTextDir(label));
|
|
734
|
+
updateTabWidths();
|
|
735
|
+
} else {
|
|
736
|
+
console.log('[tabs] Tab not found')
|
|
737
|
+
}
|
|
738
|
+
|
|
734
739
|
},
|
|
735
740
|
selection: getSelection,
|
|
736
741
|
order: function (order) {
|
|
@@ -2243,7 +2243,7 @@ RED.view = (function () {
|
|
|
2243
2243
|
}
|
|
2244
2244
|
}
|
|
2245
2245
|
clipboard = JSON.stringify(nns);
|
|
2246
|
-
RED.notify(`${nns.length} node copied`);
|
|
2246
|
+
// RED.notify(`${nns.length} node copied`);
|
|
2247
2247
|
}
|
|
2248
2248
|
}
|
|
2249
2249
|
|
|
@@ -5031,7 +5031,7 @@ RED.view = (function () {
|
|
|
5031
5031
|
}
|
|
5032
5032
|
if (counts.length > 0) {
|
|
5033
5033
|
var countList = '<ul><li>' + counts.join('</li><li>') + '</li></ul>';
|
|
5034
|
-
RED.notify(`<p>Imported:</p> ${countList}`)
|
|
5034
|
+
// RED.notify(`<p>Imported:</p> ${countList}`)
|
|
5035
5035
|
}
|
|
5036
5036
|
}
|
|
5037
5037
|
} catch (error) {
|