{"action":"opened","number":864,"pull_request":{"url":"https://api.github.com/repos/RubaXa/Sortable/pulls/864","id":72594827,"html_url":"https://github.com/RubaXa/Sortable/pull/864","diff_url":"https://github.com/RubaXa/Sortable/pull/864.diff","patch_url":"https://github.com/RubaXa/Sortable/pull/864.patch","issue_url":"https://api.github.com/repos/RubaXa/Sortable/issues/864","number":864,"state":"open","locked":false,"title":"Fix Destroy workflow","user":{"login":"alexk111","id":4675984,"avatar_url":"https://avatars.githubusercontent.com/u/4675984?v=3","gravatar_id":"","url":"https://api.github.com/users/alexk111","html_url":"https://github.com/alexk111","followers_url":"https://api.github.com/users/alexk111/followers","following_url":"https://api.github.com/users/alexk111/following{/other_user}","gists_url":"https://api.github.com/users/alexk111/gists{/gist_id}","starred_url":"https://api.github.com/users/alexk111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexk111/subscriptions","organizations_url":"https://api.github.com/users/alexk111/orgs","repos_url":"https://api.github.com/users/alexk111/repos","events_url":"https://api.github.com/users/alexk111/events{/privacy}","received_events_url":"https://api.github.com/users/alexk111/received_events","type":"User","site_admin":false},"body":"Don't null object links (rootEl, dragEl, etc) on Destroy. There are scenarios where this causes ```Sortable.js:1096 Uncaught TypeError: Cannot read property 'dispatchEvent' of null```. For example, this happens on Angular when you drag items containing sub-Sortables between lists. When you drop an item, it naturally executes onDrop. At the same time it destroys its sub-list (a child Sortable), which also calls onDrop. The latter onDrop resets the links, and that breaks the workflow of the initial onDrop. ","created_at":"2016-06-04T06:33:41Z","updated_at":"2016-06-04T06:33:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d5d2be9ac6205329847d56f78848bd1ea6a53fd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RubaXa/Sortable/pulls/864/commits","review_comments_url":"https://api.github.com/repos/RubaXa/Sortable/pulls/864/comments","review_comment_url":"https://api.github.com/repos/RubaXa/Sortable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RubaXa/Sortable/issues/864/comments","statuses_url":"https://api.github.com/repos/RubaXa/Sortable/statuses/9b70f32921b6017469dba41456797d0e377507be","head":{"label":"alexk111:fix-destroy","ref":"fix-destroy","sha":"9b70f32921b6017469dba41456797d0e377507be","user":{"login":"alexk111","id":4675984,"avatar_url":"https://avatars.githubusercontent.com/u/4675984?v=3","gravatar_id":"","url":"https://api.github.com/users/alexk111","html_url":"https://github.com/alexk111","followers_url":"https://api.github.com/users/alexk111/followers","following_url":"https://api.github.com/users/alexk111/following{/other_user}","gists_url":"https://api.github.com/users/alexk111/gists{/gist_id}","starred_url":"https://api.github.com/users/alexk111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexk111/subscriptions","organizations_url":"https://api.github.com/users/alexk111/orgs","repos_url":"https://api.github.com/users/alexk111/repos","events_url":"https://api.github.com/users/alexk111/events{/privacy}","received_events_url":"https://api.github.com/users/alexk111/received_events","type":"User","site_admin":false},"repo":{"id":60393756,"name":"Sortable","full_name":"alexk111/Sortable","owner":{"login":"alexk111","id":4675984,"avatar_url":"https://avatars.githubusercontent.com/u/4675984?v=3","gravatar_id":"","url":"https://api.github.com/users/alexk111","html_url":"https://github.com/alexk111","followers_url":"https://api.github.com/users/alexk111/followers","following_url":"https://api.github.com/users/alexk111/following{/other_user}","gists_url":"https://api.github.com/users/alexk111/gists{/gist_id}","starred_url":"https://api.github.com/users/alexk111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexk111/subscriptions","organizations_url":"https://api.github.com/users/alexk111/orgs","repos_url":"https://api.github.com/users/alexk111/repos","events_url":"https://api.github.com/users/alexk111/events{/privacy}","received_events_url":"https://api.github.com/users/alexk111/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexk111/Sortable","description":"Sortable — is a minimalist JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery. Supports Meteor, AngularJS, React, Polymer and any CSS library, e.g. Bootstrap.","fork":true,"url":"https://api.github.com/repos/alexk111/Sortable","forks_url":"https://api.github.com/repos/alexk111/Sortable/forks","keys_url":"https://api.github.com/repos/alexk111/Sortable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexk111/Sortable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexk111/Sortable/teams","hooks_url":"https://api.github.com/repos/alexk111/Sortable/hooks","issue_events_url":"https://api.github.com/repos/alexk111/Sortable/issues/events{/number}","events_url":"https://api.github.com/repos/alexk111/Sortable/events","assignees_url":"https://api.github.com/repos/alexk111/Sortable/assignees{/user}","branches_url":"https://api.github.com/repos/alexk111/Sortable/branches{/branch}","tags_url":"https://api.github.com/repos/alexk111/Sortable/tags","blobs_url":"https://api.github.com/repos/alexk111/Sortable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexk111/Sortable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexk111/Sortable/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexk111/Sortable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexk111/Sortable/statuses/{sha}","languages_url":"https://api.github.com/repos/alexk111/Sortable/languages","stargazers_url":"https://api.github.com/repos/alexk111/Sortable/stargazers","contributors_url":"https://api.github.com/repos/alexk111/Sortable/contributors","subscribers_url":"https://api.github.com/repos/alexk111/Sortable/subscribers","subscription_url":"https://api.github.com/repos/alexk111/Sortable/subscription","commits_url":"https://api.github.com/repos/alexk111/Sortable/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexk111/Sortable/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexk111/Sortable/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexk111/Sortable/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexk111/Sortable/contents/{+path}","compare_url":"https://api.github.com/repos/alexk111/Sortable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexk111/Sortable/merges","archive_url":"https://api.github.com/repos/alexk111/Sortable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexk111/Sortable/downloads","issues_url":"https://api.github.com/repos/alexk111/Sortable/issues{/number}","pulls_url":"https://api.github.com/repos/alexk111/Sortable/pulls{/number}","milestones_url":"https://api.github.com/repos/alexk111/Sortable/milestones{/number}","notifications_url":"https://api.github.com/repos/alexk111/Sortable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexk111/Sortable/labels{/name}","releases_url":"https://api.github.com/repos/alexk111/Sortable/releases{/id}","deployments_url":"https://api.github.com/repos/alexk111/Sortable/deployments","created_at":"2016-06-04T04:49:22Z","updated_at":"2016-06-04T04:49:23Z","pushed_at":"2016-06-04T06:32:40Z","git_url":"git://github.com/alexk111/Sortable.git","ssh_url":"git@github.com:alexk111/Sortable.git","clone_url":"https://github.com/alexk111/Sortable.git","svn_url":"https://github.com/alexk111/Sortable","homepage":"http://rubaxa.github.io/Sortable/","size":828,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RubaXa:master","ref":"master","sha":"acef394c9a11e0e164ae4a22754ac898b650bf64","user":{"login":"RubaXa","id":1109562,"avatar_url":"https://avatars.githubusercontent.com/u/1109562?v=3","gravatar_id":"","url":"https://api.github.com/users/RubaXa","html_url":"https://github.com/RubaXa","followers_url":"https://api.github.com/users/RubaXa/followers","following_url":"https://api.github.com/users/RubaXa/following{/other_user}","gists_url":"https://api.github.com/users/RubaXa/gists{/gist_id}","starred_url":"https://api.github.com/users/RubaXa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubaXa/subscriptions","organizations_url":"https://api.github.com/users/RubaXa/orgs","repos_url":"https://api.github.com/users/RubaXa/repos","events_url":"https://api.github.com/users/RubaXa/events{/privacy}","received_events_url":"https://api.github.com/users/RubaXa/received_events","type":"User","site_admin":false},"repo":{"id":15308499,"name":"Sortable","full_name":"RubaXa/Sortable","owner":{"login":"RubaXa","id":1109562,"avatar_url":"https://avatars.githubusercontent.com/u/1109562?v=3","gravatar_id":"","url":"https://api.github.com/users/RubaXa","html_url":"https://github.com/RubaXa","followers_url":"https://api.github.com/users/RubaXa/followers","following_url":"https://api.github.com/users/RubaXa/following{/other_user}","gists_url":"https://api.github.com/users/RubaXa/gists{/gist_id}","starred_url":"https://api.github.com/users/RubaXa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubaXa/subscriptions","organizations_url":"https://api.github.com/users/RubaXa/orgs","repos_url":"https://api.github.com/users/RubaXa/repos","events_url":"https://api.github.com/users/RubaXa/events{/privacy}","received_events_url":"https://api.github.com/users/RubaXa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RubaXa/Sortable","description":"Sortable — is a minimalist JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery. Supports Meteor, AngularJS, React, Polymer and any CSS library, e.g. Bootstrap.","fork":false,"url":"https://api.github.com/repos/RubaXa/Sortable","forks_url":"https://api.github.com/repos/RubaXa/Sortable/forks","keys_url":"https://api.github.com/repos/RubaXa/Sortable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RubaXa/Sortable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RubaXa/Sortable/teams","hooks_url":"https://api.github.com/repos/RubaXa/Sortable/hooks","issue_events_url":"https://api.github.com/repos/RubaXa/Sortable/issues/events{/number}","events_url":"https://api.github.com/repos/RubaXa/Sortable/events","assignees_url":"https://api.github.com/repos/RubaXa/Sortable/assignees{/user}","branches_url":"https://api.github.com/repos/RubaXa/Sortable/branches{/branch}","tags_url":"https://api.github.com/repos/RubaXa/Sortable/tags","blobs_url":"https://api.github.com/repos/RubaXa/Sortable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RubaXa/Sortable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RubaXa/Sortable/git/refs{/sha}","trees_url":"https://api.github.com/repos/RubaXa/Sortable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RubaXa/Sortable/statuses/{sha}","languages_url":"https://api.github.com/repos/RubaXa/Sortable/languages","stargazers_url":"https://api.github.com/repos/RubaXa/Sortable/stargazers","contributors_url":"https://api.github.com/repos/RubaXa/Sortable/contributors","subscribers_url":"https://api.github.com/repos/RubaXa/Sortable/subscribers","subscription_url":"https://api.github.com/repos/RubaXa/Sortable/subscription","commits_url":"https://api.github.com/repos/RubaXa/Sortable/commits{/sha}","git_commits_url":"https://api.github.com/repos/RubaXa/Sortable/git/commits{/sha}","comments_url":"https://api.github.com/repos/RubaXa/Sortable/comments{/number}","issue_comment_url":"https://api.github.com/repos/RubaXa/Sortable/issues/comments{/number}","contents_url":"https://api.github.com/repos/RubaXa/Sortable/contents/{+path}","compare_url":"https://api.github.com/repos/RubaXa/Sortable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RubaXa/Sortable/merges","archive_url":"https://api.github.com/repos/RubaXa/Sortable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RubaXa/Sortable/downloads","issues_url":"https://api.github.com/repos/RubaXa/Sortable/issues{/number}","pulls_url":"https://api.github.com/repos/RubaXa/Sortable/pulls{/number}","milestones_url":"https://api.github.com/repos/RubaXa/Sortable/milestones{/number}","notifications_url":"https://api.github.com/repos/RubaXa/Sortable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RubaXa/Sortable/labels{/name}","releases_url":"https://api.github.com/repos/RubaXa/Sortable/releases{/id}","deployments_url":"https://api.github.com/repos/RubaXa/Sortable/deployments","created_at":"2013-12-19T10:10:13Z","updated_at":"2016-06-04T04:59:38Z","pushed_at":"2016-06-04T06:33:41Z","git_url":"git://github.com/RubaXa/Sortable.git","ssh_url":"git@github.com:RubaXa/Sortable.git","clone_url":"https://github.com/RubaXa/Sortable.git","svn_url":"https://github.com/RubaXa/Sortable","homepage":"http://rubaxa.github.io/Sortable/","size":1698,"stargazers_count":7014,"watchers_count":7014,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":978,"mirror_url":null,"open_issues_count":137,"forks":978,"open_issues":137,"watchers":7014,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RubaXa/Sortable/pulls/864"},"html":{"href":"https://github.com/RubaXa/Sortable/pull/864"},"issue":{"href":"https://api.github.com/repos/RubaXa/Sortable/issues/864"},"comments":{"href":"https://api.github.com/repos/RubaXa/Sortable/issues/864/comments"},"review_comments":{"href":"https://api.github.com/repos/RubaXa/Sortable/pulls/864/comments"},"review_comment":{"href":"https://api.github.com/repos/RubaXa/Sortable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RubaXa/Sortable/pulls/864/commits"},"statuses":{"href":"https://api.github.com/repos/RubaXa/Sortable/statuses/9b70f32921b6017469dba41456797d0e377507be"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"alexk111"}}