{"action":"created","issue":{"url":"https://api.github.com/repos/l0rdn1kk0n/wicket-bootstrap/issues/508","labels_url":"https://api.github.com/repos/l0rdn1kk0n/wicket-bootstrap/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/l0rdn1kk0n/wicket-bootstrap/issues/508/comments","events_url":"https://api.github.com/repos/l0rdn1kk0n/wicket-bootstrap/issues/508/events","html_url":"https://github.com/l0rdn1kk0n/wicket-bootstrap/pull/508","id":76306003,"number":508,"title":"Modern File Upload based on dropzone.js","user":{"login":"klopfdreh","id":980773,"avatar_url":"https://avatars.githubusercontent.com/u/980773?v=3","gravatar_id":"","url":"https://api.github.com/users/klopfdreh","html_url":"https://github.com/klopfdreh","followers_url":"https://api.github.com/users/klopfdreh/followers","following_url":"https://api.github.com/users/klopfdreh/following{/other_user}","gists_url":"https://api.github.com/users/klopfdreh/gists{/gist_id}","starred_url":"https://api.github.com/users/klopfdreh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klopfdreh/subscriptions","organizations_url":"https://api.github.com/users/klopfdreh/orgs","repos_url":"https://api.github.com/users/klopfdreh/repos","events_url":"https://api.github.com/users/klopfdreh/events{/privacy}","received_events_url":"https://api.github.com/users/klopfdreh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-05-14T10:01:33Z","updated_at":"2015-05-18T12:41:55Z","closed_at":"2015-05-15T19:54:14Z","pull_request":{"url":"https://api.github.com/repos/l0rdn1kk0n/wicket-bootstrap/pulls/508","html_url":"https://github.com/l0rdn1kk0n/wicket-bootstrap/pull/508","diff_url":"https://github.com/l0rdn1kk0n/wicket-bootstrap/pull/508.diff","patch_url":"https://github.com/l0rdn1kk0n/wicket-bootstrap/pull/508.patch"},"body":"https://github.com/l0rdn1kk0n/wicket-bootstrap/issues/371"},"comment":{"url":"https://api.github.com/repos/l0rdn1kk0n/wicket-bootstrap/issues/comments/103047027","html_url":"https://github.com/l0rdn1kk0n/wicket-bootstrap/pull/508#issuecomment-103047027","issue_url":"https://api.github.com/repos/l0rdn1kk0n/wicket-bootstrap/issues/508","id":103047027,"user":{"login":"martin-g","id":232002,"avatar_url":"https://avatars.githubusercontent.com/u/232002?v=3","gravatar_id":"","url":"https://api.github.com/users/martin-g","html_url":"https://github.com/martin-g","followers_url":"https://api.github.com/users/martin-g/followers","following_url":"https://api.github.com/users/martin-g/following{/other_user}","gists_url":"https://api.github.com/users/martin-g/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-g/subscriptions","organizations_url":"https://api.github.com/users/martin-g/orgs","repos_url":"https://api.github.com/users/martin-g/repos","events_url":"https://api.github.com/users/martin-g/events{/privacy}","received_events_url":"https://api.github.com/users/martin-g/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T12:41:55Z","updated_at":"2015-05-18T12:41:55Z","body":"This is what I read at there docs:\r\n\r\nevent name | description\r\n-----------------|---------------\r\nsuccess | The file has been uploaded successfully. Gets the server response as second argument. (This event was called finished previously)\r\ncomplete | Called when the upload was either successful or erroneous.\r\n\r\nIt doesn't say that `complete` is after all. \r\nIt looks like jQuery's behavior: first calls either `success` or `canceled` and then calls `complete`.\r\n\r\nIMO you should listen for `complete` and if it contains `<ajax-response ` then try to process it."}}