Skip to content

Build your personal knowledge base with Trilium Notes

put back the removed widgets, the BC break is not worth it

zadam620bed73bb16
diff --git a/src/public/app/services/frontend_script_api.js b/src/public/app/services/frontend_script_api.js
index 14b714ba23..5f89a92970 100644
--- a/src/public/app/services/frontend_script_api.js
+++ b/src/public/app/services/frontend_script_api.js
@@ -41,6 +41,24 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
/** @property {NoteContextAwareWidget} */
this.NoteContextAwareWidget = NoteContextAwareWidget;
+ /**
+ * @property {NoteContextAwareWidget}
+ * @deprecated use NoteContextAwareWidget instead
+ */
+ this.TabAwareWidget = NoteContextAwareWidget;
+
+ /**
+ * @property {NoteContextAwareWidget}
+ * @deprecated use NoteContextAwareWidget instead
+ */
+ this.TabCachingWidget = NoteContextAwareWidget;
+
+ /**
+ * @property {NoteContextAwareWidget}
+ * @deprecated use NoteContextAwareWidget instead
+ */
+ this.NoteContextCachingWidget = NoteContextAwareWidget;
+
/** @property {BasicWidget} */
this.BasicWidget = BasicWidget;
diff --git a/src/services/hidden_subtree.js b/src/services/hidden_subtree.js
index 2029c2fa20..a3113381df 100644
--- a/src/services/hidden_subtree.js
+++ b/src/services/hidden_subtree.js
@@ -308,7 +308,7 @@ function checkHiddenSubtreeRecursively(parentNoteId, item) {
for (const attr of attrs) {
const attrId = note.noteId + "_" + attr.type.charAt(0) + attr.name;
- if (!note.getAttributes().find(attr => attr.attributeId === attrId)) {console.log("EEEEE");
+ if (!note.getAttributes().find(attr => attr.attributeId === attrId)) {
new Attribute({
attributeId: attrId,
noteId: note.noteId,