Created
          June 20, 2011 21:56 
        
      - 
      
- 
        Save cdwills/1036695 to your computer and use it in GitHub Desktop. 
Revisions
- 
        cdwills revised this gist Jun 20, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ if (window.ticket_id != undefined) { recorder.addCustomData("Ticket", window.ticket_id); } else if (window.location.pathname.match(/\/requests\/\d+$/) && window.ticket_id === undefined){ recorder.addCustomData("Ticket", window.location.pathname.split('/')[2]; } 
- 
        cdwills revised this gist Jun 20, 2011 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ if (window.ticket_id != undefined) { recorder.addCustomData("Ticket", window.ticket_id); } else if (window.location.pathname.split('/')[1] === 'requests' && window.ticket_id === undefined){ recorder.addCustomData("Ticket", window.location.pathname.split('/')[2]; } 
- 
        cdwills created this gist Jun 20, 2011 .There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ if (window.ticket_id != undefined) { recorder.addCustomData("Ticket", window.ticket_id); } else if (window.location.pathname.split('/')[1] === 'requests' && window.ticket_id === undefined){ recorder.addCustomData("Ticket", window.location.pathname.split('/')[2]; }