mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
put back the removed widgets, the BC break is not worth it
This commit is contained in:
parent
c177d2b97b
commit
620bed73bb
@ -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;
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user