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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,551 views 25 14
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