Last active
December 3, 2015 23:11
-
-
Save NickChristensen/7934ae9f9b86c615f5cf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://spiceworks.github.io/spiceworks-js-sdk/dist/spiceworks-sdk.js" type="text/javascript"></script> | |
<script src="https://code.jquery.com/jquery-2.1.3.min.js" type="text/javascript"></script> | |
</head> | |
<body> | |
Hello World | |
<script> | |
var card = new SW.Card(); | |
card.services('helpdesk').on('showTicket', function(ticketId){ | |
console.log('==== Viewing Ticket: ' + ticketId + ' ===='); | |
jQuery('.hd-responses-dropdown ul.sui-dropdown-menu').append('<li><a>Canned Responses</a></li>'); | |
debugger; | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment