Hi, there is a new interface available for BugHerd. To update to the new API we simply need to change lines 34-39 in bugherd.module to the following:

(function (d, t) {
var bh = d.createElement(t), s = d.getElementsByTagName(t)[0];
bh.type = 'text/javascript';
bh.src = '//www.bugherd.com/sidebarv2.js?apikey={$api_key}';
s.parentNode.insertBefore(bh, s);
})(document, 'script');

Patch to follow shortly....

Comments

berenddeboer’s picture

StatusFileSize
new763 bytes

Here's the patch.

berenddeboer’s picture

StatusFileSize
new641 bytes

Here a patch so bugherd loads in the footer, which should help with page load a bit.

berenddeboer’s picture

Status: Active » Needs review
dieuwe’s picture

Status: Needs review » Reviewed & tested by the community

Works as intended.

skwashd’s picture

Assigned: Unassigned » skwashd
Status: Reviewed & tested by the community » Fixed

This patch has been applied, with a couple of coding standards fixes. See cda46ead3f05f66ccb0fad73b1daf1db1c422241

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.