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
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,272 views 2 13
Read article

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