-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues
GLPI Version
11.0.5
Plugin version
2.10.1
Bug description
`//delay the execution (ajax requestcomplete event fired before dom loading)
setTimeout( function () {
if ($("#cloneandlink_ticket").length > 0) { return; }
var duplicate_html = "<button id='cloneandlink_ticket' class='btn btn-sm btn-ghost-secondary ms-auto'"+
"title='{$locale_cloneandlink}'>" + __s("Clone") +
"";
$("#linked_tickets-heading .accordion-button")
.append(duplicate_html);
addOnclick();
}, 100);`
BY
`//delay the execution (ajax requestcomplete event fired before dom loading)
setTimeout( function () {
if ($("#cloneandlink_ticket").length > 0) { return; }
var duplicate_html = "<button id='cloneandlink_ticket' class='btn btn-sm btn-ghost-secondary ms-auto'"+
"title='{$locale_cloneandlink}'>" +'{$locale_cloneandlink}' +
"";
$("#linked_tickets-heading .accordion-button")
.append(duplicate_html);
addOnclick();
}, 100);`
Relevant log output
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response
Reactions are currently unavailable