I am thinking this might not easily be doable. I am wanting to inject some HTML into the servicedesk queue page.
At a glance, this is easy enough to do. I just use javascript to inject some html after the correct element. However it seems that this area of the page is constantly refreshing ever 5 seconds or so. The HTML I inject seems to work initially, and then poof, it disappears, which appears to be due to some sort of page/area reload.
Does anyone have any tricks to adding HTML to the servicedesk queues?
As a simple/dumb test:
Create a fragment -> Show a web panel
Location: servicedesk.project.sidebar
writer.write("""
<script type="text/javascript">
AJS.toInit(function() {
AJS.\$('.ui-sortable-handle').after("<hr>");
});
</script>
""") This just tosses a horizontal line after every queue. Works fine for about 5 seconds and disappears. not sure if there is anything that can be done.