Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to Prevent page update event in confluence 6.1.2

Ambar Patil August 10, 2017

 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
TAGS
AUG Leaders

Atlassian Community Events