{"action":"closed","issue":{"url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/issues/550","labels_url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/issues/550/labels{/name}","comments_url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/issues/550/comments","events_url":"https://api.github.com/repos/zeroclipboard/zeroclipboard/issues/550/events","html_url":"https://github.com/zeroclipboard/zeroclipboard/issues/550","id":59204165,"number":550,"title":"'Undefined' when copying Ajax result to clipboard","user":{"login":"bdetail","id":11225433,"avatar_url":"https://avatars.githubusercontent.com/u/11225433?v=3","gravatar_id":"","url":"https://api.github.com/users/bdetail","html_url":"https://github.com/bdetail","followers_url":"https://api.github.com/users/bdetail/followers","following_url":"https://api.github.com/users/bdetail/following{/other_user}","gists_url":"https://api.github.com/users/bdetail/gists{/gist_id}","starred_url":"https://api.github.com/users/bdetail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdetail/subscriptions","organizations_url":"https://api.github.com/users/bdetail/orgs","repos_url":"https://api.github.com/users/bdetail/repos","events_url":"https://api.github.com/users/bdetail/events{/privacy}","received_events_url":"https://api.github.com/users/bdetail/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-27T08:19:51Z","updated_at":"2015-02-27T15:33:46Z","closed_at":"2015-02-27T15:33:46Z","body":"Firstly, I want to say thanks for the great library. \r\n\r\nI'm trying to copy an Ajax result to clipboard.  I'm getting 'undefined' when I click the button first time but when I click it a second time, it copies the Ajax result correctly. It seems I always have to click the button twice for it to work correctly. \r\n\r\nHere's a very basic working example so you can see what's happening http://goo.gl/oNKFyL\r\n\r\nI'd be grateful if someone could point me in the right direction.\r\n\r\nWindows 8.1\r\nChrome 40.0.2214.115 m\r\nIs Flash enabled? true\r\nFlash version? 16.0.0\r\nUsing Pepper Flash? true\r\nUsing ActiveX? false\r\nZeroClipboard v2.2.0\r\n"}}