Home › Forums › Calendar Products › Events Calendar PRO › Problem updating recurring events
- This topic has 10 replies, 3 voices, and was last updated 13 years, 2 months ago by
Barry.
-
AuthorPosts
-
January 19, 2013 at 9:10 am #31178
Cliff
ParticipantWhen updating an existing current event, it doesn’t ask if you want to apply it to just that one or all, so it updates all. Inspecting things a bit, once I click ‘Update’, I get a brief error message before the page reloads:
Uncaught Error: Syntax error, unrecognized expression: [name="recurrence[type]"] option:selected" in load-scripts.php:2
Any ideas? Everything’s up to date.January 19, 2013 at 9:27 am #31179Cliff
ParticipantLooking at it, it looks like I fixed a couple of typos to make things work again. On lines 88 and 107, where option:selected are used, it seems there were extra quotation marks. I changed these from:
$('[name="recurrence[type]"] option:selected"').val()and$('[name="recurrence[end-type]"] option:selected"').val()to$('[name="recurrence[type]"] option:selected').val()and$('[name="recurrence[end-type]"] option:selected').val(). Thoughts?January 21, 2013 at 8:10 am #31242Barry
MemberHi Cliff.
Yep we’ve got that issue logged already (our reference #19045) and I guess it was – unfortunately – missed in the 2.0.11 release. However, we are moving quickly toward the 3.0 release and this is apparently no longer a problem as of that version.
So please accept our apologies – your fix is totally valid and once again as soon as 3.0 arrives it should not be a problem.
January 21, 2013 at 9:00 am #31251Cliff
ParticipantThanks, Barry. I hope 3.0 is coming out soon since this breaks some major functionality. 🙂
January 21, 2013 at 9:13 am #31254Barry
MemberI appreciate that: while I can’t say that 3.0 will arrive, say, next week we are hopeful of it being the next version we release. The exact timeline is flexible because we don’t know what will come up during beta testing (which is in progress), but so far so good – and thank you for your continued support and patience 🙂
January 30, 2013 at 2:49 pm #31825Kyle
ParticipantCliff, did your edits fix the recurring events issue? I am having the same trouble and would like to fix it.
January 30, 2013 at 2:51 pm #31826Cliff
ParticipantKyle, yes! Fixed things right up for me.
January 30, 2013 at 2:53 pm #31828Kyle
ParticipantWhich file are those lines in?
January 30, 2013 at 3:07 pm #31829Cliff
ParticipantNot sure, Kyle—one of the JavaScript files. Try a search through the plugin’s directory.
January 30, 2013 at 3:10 pm #31830Kyle
ParticipantThanks, I was looking at the php files, not the Javascript. It is /wp-content/plugins/events-calendar-pro/resources/events-admin.js for anyone else that runs into the same problem.
February 4, 2013 at 6:31 am #32043Barry
MemberI’ll close this thread since it’s looking like everyone is all sorted here.
-
AuthorPosts
- The topic ‘Problem updating recurring events’ is closed to new replies.
