Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

A Simple Flag close() is not working in atlassian connect ( confluence)

Deleted user June 9, 2019

here is my is my simple code . no error nothing in the logs.

var ourFlags = {};

var flag = AP.flag.create({

title: 'Tittle',

body: 'Body',

type: 'success',

close: 'manual',

actions: {‘closeAction’:’Close'}

}, function(identifier) {

        ourFlags[identifier] = { id: flagId, flag: flag};

});


AP.events.on('flag.action', function(data) {

     var flagData = ourFlags[data.flagIdentifier];

     flagData.flag.close();

});

thanks

1 answer

1 accepted

0 votes
Answer accepted
David Boyd
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 10, 2019

Thanks for reporting @[deleted] 

Confirmed as broken, and we were not aware.

We are working on fixing it. Please track CONFCLOUD-65548

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events