"Are you sure you want to leave this page?" message when editing events

Home Forums Calendar Products Community Events "Are you sure you want to leave this page?" message when editing events

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #957131
    integrity
    Participant

    Hello,

    I have a site using the Community Events plugin, and we’ve run into an issue with one of our user roles submitting events. The user has every “tribe” permission on the list, but when they try to publish an event they receive a “Are you sure you want to leave this page?” warning message saying that their changes will be lost. If they continue, the event is successfully published but it’s a problem because a lot of people will choose “Stay on this page” as a gut reaction.

    I was able to stop this behavior by giving the user “edit_posts” permissions, but with that option turned on, the user is able to submit a draft of any post type on the site. Because we only want this user to be able to submit events, this is also not an ideal situation.

    Do you think there is a way to fix this without using “edit_posts”?

    #957443
    Barry
    Member

    Hi integrity,

    I’m curious about the source of this dialog.

    Just to be clear – users with this particular role are experiencing the issue when submitting events on the frontend, via the Community Events submission form?

    If so – just for the avoidance of any doubt – can you confirm it continues to happen even with no other plugins but our own and a default theme in place?

    Thanks!

    #961086
    Barry
    Member

    Hi!

    It’s been a while so I’m going to go ahead and close this topic.

    • Need help with anything else? Go right ahead and post a new topic, one of the team will be only too happy to help
    • Still need help with this issue and need to re-open it? Again, please simply create a new topic and link to this one to provide the team with some context

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘"Are you sure you want to leave this page?" message when editing events’ is closed to new replies.