Skip to content

Instantly share code, notes, and snippets.

View dfreire770's full-sized avatar

Diego Freire dfreire770

View GitHub Profile
/*
This is a jQuery function that runs after the document has been fully rendered.
It expects a variable set by Showoff that defines the URL for filing a ticket:
issueUrl = "http://tickets.puppet.com/secure/CreateIssueDetails!init.jspa?pid=10302&issuetype=1&components=10312&priority=6&summary=";
This approach is taken so the link can fail gracefully. If I broke something, the
link will still operate normally, it just won't be the fancy dialog, and it won't
allow external users to file tickets.