Hi @ all,
I wrote a CUTE extension with the plugin "Cute for Jira" and i have an issue I can't find.
The following jQuery load on any page reload and inject a text in the Service Desk Customer Portal footer section.
#cute-jsd-footer {
text-align: center;
color: #7a869a;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
font-size: 12px;
}// Execute after the page was fully loaded
setTimeout(function(){
if (jQuery('#jsonPayload').length) {
jQuery("#cute-jsd-footer").insertBefore('#footer');
}
}, 1)(jQuery);
<div id="cute-jsd-footer">
@message
</div>
It works fine. Only if I switch between the request type groups it adds the string once more.
Anyone out there that can show me how to avoid that?

Best regards,
Stephan