Created
January 3, 2013 18:03
-
-
Save apanzerj/4445437 to your computer and use it in GitHub Desktop.
Apply Tags To a Ticket JS
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
function ajp_apply_macro(case_id) { | |
var ticketForm = jQuery("#ticket-chat"), this_id = "0"; | |
new Zendesk.API.Macro(case_id).applyToTicket(this_id, ticketForm) | |
return false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment