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

After upgrading Confluence 5.9 Ajax call doesn't work anymore

Zhifeng_Wu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2018

Our plugin stop working after Confluence 5.9


this
.init = function(){
var what = this;
_self.restBase = AJS.params.baseUrl + '/rest/confluencecalendar/1.0';
this.fullCalendar = AJS.$('#calendar').fullCalendar({
header: {
left: 'month,agendaWeek',
center: 'title',
right: 'today prev,next'
},
editable: false,
eventClick: this.eventClicked,
events: {
url: _self.restBase + '/eventsOnPage',
type: 'GET',
data: {
pageId: AJS.params.pageId,
},
error: function() {
AJS.messages.error({
title: AJS.I18n.getText("event.error"),
body: AJS.I18n.getText("event.error.retrieve")
});
}
}
});
};

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events