How to Prevent page update event in confluence 6.1.2 Edited

 I have created on plugin, which has some validation event on page save. Which is working properly in Confluence 5.9.2.

Means, I wrote some JQuery event which gets called on submission of page save form. Whenever editpageform/createpageform gets submitted my code in JQuery gets executed and some logic works here. These entire things are working in 5.9.2.

But when we upgrade plugin from 5.9.2 to 6.1.2 some things are not working for me. The code completely broke down and not working.

Here when we click on update button page need to be save and my JQuery events will have to execute but it is not working anyhow and page get saved and reloaded.

I have cross checked whether form name are changed but they are same as earlier version.

My JQuery call:

$("form[name='editpageform']").live("submit", function (event) {
. . .
. . .
. . .
});

Also, on browser I didn’t find any error or not in my server log.

Anyone knows how to deal with this. Please help me this.

 

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

496 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you