Can't delete meal plan from calendar
See original GitHub issueWhen clicking the delete button on the calendar, a Javascript error occurs and the meal is not deleted from the calendar.
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data mealplan.js:101:27
<anonymous> http://XXX.XXX.XXX.X:9283/viewjs/mealplan.js?v=2.4.1:101
jQuery 2
dispatch
handle
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Delete or unsubscribe from a calendar - Google Support
When you remove a calendar from your list, you won't see it under "My calendars" or "Other calendars." Remove a calendar. On your...
Read more >Delete spam calendars and events on iPhone - Apple Support
Open the Calendar app. At the bottom of the screen, tap Calendars. Look for a calendar that you don't recognize. Tap the More...
Read more >You can't remove a calendar item or an email message in ...
Right-click the appointment, and then click Delete Message. In the Delete Item dialog box, select one of the permanent deletion options, and ...
Read more >When a calendar item won't delete, here are alternatives to try ...
Delete the event: Either click the little trash can when you open the event OR open the event, find “More actions” and select...
Read more >How do I delete workout programs on my calendar?
View any day that is scheduled on the calander for that program. Then click program guide. Once page opens click on Remove. Then...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the suggestion - just changed it like you proposed… 😃
Thanks @berrnd and @matejdro
If it helps, there is the
parents()
function which could be usedThis would grab the first parent item with the class
fc-h-event
. The current solutionclosest()
could go to a child element if it is closer. But, I don’t think this matters too much.Cheers for the great work again