You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go into your hidden .obsidian folder (use Command Shift . to access hidden folders), then go to /.obsidian/plugins/obsidian-full-calendar/main.js. Scroll down to line 63742 (or use command f and search "Error when deleting". Finally, add this one line:
deleteEvent: () => __async(this, null, function* () {
try {
yield plugin.cache.deleteEvent(eventId);
} catch (e3) {
if (e3 instanceof Error) {
new import_obsidian6.Notice("Error when deleting event: " + e3.message);
console.error(e3);
}
}
closeModal(); // Add This Line.
})
});
Please check that this issue hasn't been reported before.
Expected Behavior
When a user opens an event from the calendar view, a modal dialog with buttons labeled "Save Event" and "Delete Event" pops up.
Clicking the "Delete Event" button should delete the event and then immediately close the modal dialog
Current behaviour
Clicking the "Delete Event" button deletes the event, but leaves the dialog open.
This brings two problems:
JavaScript console output
No response
Steps to reproduce
Calendar information
Full Calendar for Obsidian v0.10.7, daily notes calendar.
Which Operating Systems are you using?
Obsidian Version
1.5.12
Full Calendar Plugin Version
0.10.7
Checks
Possible solution
No response
Comments
No response
The text was updated successfully, but these errors were encountered: