{"action":"created","comment":{"url":"https://api.github.com/repos/FinalAngel/django-cms/pulls/comments/48969540","id":48969540,"diff_hunk":"@@ -468,46 +478,38 @@ var CMS = window.CMS || {};\n         _getNodeId: function _getElement(el) {\n             return el.closest('.jstree-grid-cell')\n                 .attr('class')\n-                .replace(/.*jsgrid_(\\d+)_col.*/, '$1');\n+                .replace(/.*jsgrid_(.+?)_col.*/, '$1');\n         },\n \n         /**\n-         * Sets up all the event handlers, such as opening and moving.\n+         * Gets the new position after moving.","path":"cms/static/cms/js/modules/cms.pagetree.js","position":215,"original_position":215,"commit_id":"aff22bb6a4c53178bd57f619693fb4ba1192bb5a","original_commit_id":"969d857c53e2e11ddff3ab69bf45ffae5b1d6cd7","user":{"login":"vxsx","id":366813,"avatar_url":"https://avatars.githubusercontent.com/u/366813?v=3","gravatar_id":"","url":"https://api.github.com/users/vxsx","html_url":"https://github.com/vxsx","followers_url":"https://api.github.com/users/vxsx/followers","following_url":"https://api.github.com/users/vxsx/following{/other_user}","gists_url":"https://api.github.com/users/vxsx/gists{/gist_id}","starred_url":"https://api.github.com/users/vxsx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vxsx/subscriptions","organizations_url":"https://api.github.com/users/vxsx/orgs","repos_url":"https://api.github.com/users/vxsx/repos","events_url":"https://api.github.com/users/vxsx/events{/privacy}","received_events_url":"https://api.github.com/users/vxsx/received_events","type":"User","site_admin":false},"body":"so i'd say `_getPosition` is too generic  a name","created_at":"2016-01-06T15:37:44Z","updated_at":"2016-01-06T15:37:44Z","html_url":"https://github.com/FinalAngel/django-cms/pull/119#discussion_r48969540","pull_request_url":"https://api.github.com/repos/FinalAngel/django-cms/pulls/119","_links":{"self":{"href":"https://api.github.com/repos/FinalAngel/django-cms/pulls/comments/48969540"},"html":{"href":"https://github.com/FinalAngel/django-cms/pull/119#discussion_r48969540"},"pull_request":{"href":"https://api.github.com/repos/FinalAngel/django-cms/pulls/119"}}},"pull_request":{"url":"https://api.github.com/repos/FinalAngel/django-cms/pulls/119","id":55223456,"html_url":"https://github.com/FinalAngel/django-cms/pull/119","diff_url":"https://github.com/FinalAngel/django-cms/pull/119.diff","patch_url":"https://github.com/FinalAngel/django-cms/pull/119.patch","issue_url":"https://api.github.com/repos/FinalAngel/django-cms/issues/119","number":119,"state":"open","locked":false,"title":"[WIP] Fix issues with move, copy and paste","user":{"login":"FinalAngel","id":270307,"avatar_url":"https://avatars.githubusercontent.com/u/270307?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalAngel","html_url":"https://github.com/FinalAngel","followers_url":"https://api.github.com/users/FinalAngel/followers","following_url":"https://api.github.com/users/FinalAngel/following{/other_user}","gists_url":"https://api.github.com/users/FinalAngel/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalAngel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalAngel/subscriptions","organizations_url":"https://api.github.com/users/FinalAngel/orgs","repos_url":"https://api.github.com/users/FinalAngel/repos","events_url":"https://api.github.com/users/FinalAngel/events{/privacy}","received_events_url":"https://api.github.com/users/FinalAngel/received_events","type":"User","site_admin":false},"body":"Move, copy and cut worked unreliable. To change their behaviour we needed to switch from `dnd_stop.vakata` to the default jstree behaviours via `move_node.jstree copy_node.jstree`.\r\n\r\nThis required some restructuring and adaptions to the API. as the elements are stored in a more logical fashion.\r\n\r\nThere are additional cleanups included while refactoring that code.","created_at":"2016-01-06T15:17:53Z","updated_at":"2016-01-06T15:37:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3990d68b69869cec056d853500fa72f3ce5dd096","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FinalAngel/django-cms/pulls/119/commits","review_comments_url":"https://api.github.com/repos/FinalAngel/django-cms/pulls/119/comments","review_comment_url":"https://api.github.com/repos/FinalAngel/django-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FinalAngel/django-cms/issues/119/comments","statuses_url":"https://api.github.com/repos/FinalAngel/django-cms/statuses/aff22bb6a4c53178bd57f619693fb4ba1192bb5a","head":{"label":"FinalAngel:feature/pagetree_fixes","ref":"feature/pagetree_fixes","sha":"aff22bb6a4c53178bd57f619693fb4ba1192bb5a","user":{"login":"FinalAngel","id":270307,"avatar_url":"https://avatars.githubusercontent.com/u/270307?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalAngel","html_url":"https://github.com/FinalAngel","followers_url":"https://api.github.com/users/FinalAngel/followers","following_url":"https://api.github.com/users/FinalAngel/following{/other_user}","gists_url":"https://api.github.com/users/FinalAngel/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalAngel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalAngel/subscriptions","organizations_url":"https://api.github.com/users/FinalAngel/orgs","repos_url":"https://api.github.com/users/FinalAngel/repos","events_url":"https://api.github.com/users/FinalAngel/events{/privacy}","received_events_url":"https://api.github.com/users/FinalAngel/received_events","type":"User","site_admin":false},"repo":{"id":748738,"name":"django-cms","full_name":"FinalAngel/django-cms","owner":{"login":"FinalAngel","id":270307,"avatar_url":"https://avatars.githubusercontent.com/u/270307?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalAngel","html_url":"https://github.com/FinalAngel","followers_url":"https://api.github.com/users/FinalAngel/followers","following_url":"https://api.github.com/users/FinalAngel/following{/other_user}","gists_url":"https://api.github.com/users/FinalAngel/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalAngel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalAngel/subscriptions","organizations_url":"https://api.github.com/users/FinalAngel/orgs","repos_url":"https://api.github.com/users/FinalAngel/repos","events_url":"https://api.github.com/users/FinalAngel/events{/privacy}","received_events_url":"https://api.github.com/users/FinalAngel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FinalAngel/django-cms","description":"An Advanced Django Cms","fork":true,"url":"https://api.github.com/repos/FinalAngel/django-cms","forks_url":"https://api.github.com/repos/FinalAngel/django-cms/forks","keys_url":"https://api.github.com/repos/FinalAngel/django-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FinalAngel/django-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FinalAngel/django-cms/teams","hooks_url":"https://api.github.com/repos/FinalAngel/django-cms/hooks","issue_events_url":"https://api.github.com/repos/FinalAngel/django-cms/issues/events{/number}","events_url":"https://api.github.com/repos/FinalAngel/django-cms/events","assignees_url":"https://api.github.com/repos/FinalAngel/django-cms/assignees{/user}","branches_url":"https://api.github.com/repos/FinalAngel/django-cms/branches{/branch}","tags_url":"https://api.github.com/repos/FinalAngel/django-cms/tags","blobs_url":"https://api.github.com/repos/FinalAngel/django-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FinalAngel/django-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FinalAngel/django-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/FinalAngel/django-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FinalAngel/django-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/FinalAngel/django-cms/languages","stargazers_url":"https://api.github.com/repos/FinalAngel/django-cms/stargazers","contributors_url":"https://api.github.com/repos/FinalAngel/django-cms/contributors","subscribers_url":"https://api.github.com/repos/FinalAngel/django-cms/subscribers","subscription_url":"https://api.github.com/repos/FinalAngel/django-cms/subscription","commits_url":"https://api.github.com/repos/FinalAngel/django-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/FinalAngel/django-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/FinalAngel/django-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/FinalAngel/django-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/FinalAngel/django-cms/contents/{+path}","compare_url":"https://api.github.com/repos/FinalAngel/django-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FinalAngel/django-cms/merges","archive_url":"https://api.github.com/repos/FinalAngel/django-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FinalAngel/django-cms/downloads","issues_url":"https://api.github.com/repos/FinalAngel/django-cms/issues{/number}","pulls_url":"https://api.github.com/repos/FinalAngel/django-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/FinalAngel/django-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/FinalAngel/django-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FinalAngel/django-cms/labels{/name}","releases_url":"https://api.github.com/repos/FinalAngel/django-cms/releases{/id}","created_at":"2010-06-30T09:37:05Z","updated_at":"2015-12-01T17:08:13Z","pushed_at":"2016-01-06T15:23:49Z","git_url":"git://github.com/FinalAngel/django-cms.git","ssh_url":"git@github.com:FinalAngel/django-cms.git","clone_url":"https://github.com/FinalAngel/django-cms.git","svn_url":"https://github.com/FinalAngel/django-cms","homepage":"http://www.django-cms.org","size":57985,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":2,"default_branch":"develop-3.4"}},"base":{"label":"FinalAngel:feature/pagetree_reviewed","ref":"feature/pagetree_reviewed","sha":"6ebcb7b8f2c8e2a4db99cd0599e82b7fe62b50d1","user":{"login":"FinalAngel","id":270307,"avatar_url":"https://avatars.githubusercontent.com/u/270307?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalAngel","html_url":"https://github.com/FinalAngel","followers_url":"https://api.github.com/users/FinalAngel/followers","following_url":"https://api.github.com/users/FinalAngel/following{/other_user}","gists_url":"https://api.github.com/users/FinalAngel/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalAngel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalAngel/subscriptions","organizations_url":"https://api.github.com/users/FinalAngel/orgs","repos_url":"https://api.github.com/users/FinalAngel/repos","events_url":"https://api.github.com/users/FinalAngel/events{/privacy}","received_events_url":"https://api.github.com/users/FinalAngel/received_events","type":"User","site_admin":false},"repo":{"id":748738,"name":"django-cms","full_name":"FinalAngel/django-cms","owner":{"login":"FinalAngel","id":270307,"avatar_url":"https://avatars.githubusercontent.com/u/270307?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalAngel","html_url":"https://github.com/FinalAngel","followers_url":"https://api.github.com/users/FinalAngel/followers","following_url":"https://api.github.com/users/FinalAngel/following{/other_user}","gists_url":"https://api.github.com/users/FinalAngel/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalAngel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalAngel/subscriptions","organizations_url":"https://api.github.com/users/FinalAngel/orgs","repos_url":"https://api.github.com/users/FinalAngel/repos","events_url":"https://api.github.com/users/FinalAngel/events{/privacy}","received_events_url":"https://api.github.com/users/FinalAngel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FinalAngel/django-cms","description":"An Advanced Django Cms","fork":true,"url":"https://api.github.com/repos/FinalAngel/django-cms","forks_url":"https://api.github.com/repos/FinalAngel/django-cms/forks","keys_url":"https://api.github.com/repos/FinalAngel/django-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FinalAngel/django-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FinalAngel/django-cms/teams","hooks_url":"https://api.github.com/repos/FinalAngel/django-cms/hooks","issue_events_url":"https://api.github.com/repos/FinalAngel/django-cms/issues/events{/number}","events_url":"https://api.github.com/repos/FinalAngel/django-cms/events","assignees_url":"https://api.github.com/repos/FinalAngel/django-cms/assignees{/user}","branches_url":"https://api.github.com/repos/FinalAngel/django-cms/branches{/branch}","tags_url":"https://api.github.com/repos/FinalAngel/django-cms/tags","blobs_url":"https://api.github.com/repos/FinalAngel/django-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FinalAngel/django-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FinalAngel/django-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/FinalAngel/django-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FinalAngel/django-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/FinalAngel/django-cms/languages","stargazers_url":"https://api.github.com/repos/FinalAngel/django-cms/stargazers","contributors_url":"https://api.github.com/repos/FinalAngel/django-cms/contributors","subscribers_url":"https://api.github.com/repos/FinalAngel/django-cms/subscribers","subscription_url":"https://api.github.com/repos/FinalAngel/django-cms/subscription","commits_url":"https://api.github.com/repos/FinalAngel/django-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/FinalAngel/django-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/FinalAngel/django-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/FinalAngel/django-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/FinalAngel/django-cms/contents/{+path}","compare_url":"https://api.github.com/repos/FinalAngel/django-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FinalAngel/django-cms/merges","archive_url":"https://api.github.com/repos/FinalAngel/django-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FinalAngel/django-cms/downloads","issues_url":"https://api.github.com/repos/FinalAngel/django-cms/issues{/number}","pulls_url":"https://api.github.com/repos/FinalAngel/django-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/FinalAngel/django-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/FinalAngel/django-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FinalAngel/django-cms/labels{/name}","releases_url":"https://api.github.com/repos/FinalAngel/django-cms/releases{/id}","created_at":"2010-06-30T09:37:05Z","updated_at":"2015-12-01T17:08:13Z","pushed_at":"2016-01-06T15:23:49Z","git_url":"git://github.com/FinalAngel/django-cms.git","ssh_url":"git@github.com:FinalAngel/django-cms.git","clone_url":"https://github.com/FinalAngel/django-cms.git","svn_url":"https://github.com/FinalAngel/django-cms","homepage":"http://www.django-cms.org","size":57985,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":2,"default_branch":"develop-3.4"}},"_links":{"self":{"href":"https://api.github.com/repos/FinalAngel/django-cms/pulls/119"},"html":{"href":"https://github.com/FinalAngel/django-cms/pull/119"},"issue":{"href":"https://api.github.com/repos/FinalAngel/django-cms/issues/119"},"comments":{"href":"https://api.github.com/repos/FinalAngel/django-cms/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/FinalAngel/django-cms/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/FinalAngel/django-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FinalAngel/django-cms/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/FinalAngel/django-cms/statuses/aff22bb6a4c53178bd57f619693fb4ba1192bb5a"}}}}