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

preventDefault and stopPropagation in Confluence(6.X)

sungbeom cho November 26, 2017

Hi,

I've customized "Custom HTML" to block some events in Confluence(5.X).

But after I upgrade version 5.X to 6.2.4, preventDefault and stopPropagation don't work properly.

Here is my example.

AJS.$(document).ready(function () {
AJS.$("#rte-button-publish").click(function(e){
e.preventDefault();
e.stopPropagation();
});
});

 How could I make this code work?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events