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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

309 views 11 10
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