{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/plottable/issues/2745","labels_url":"https://api.github.com/repos/palantir/plottable/issues/2745/labels{/name}","comments_url":"https://api.github.com/repos/palantir/plottable/issues/2745/comments","events_url":"https://api.github.com/repos/palantir/plottable/issues/2745/events","html_url":"https://github.com/palantir/plottable/pull/2745","id":105720810,"number":2745,"title":"detach DragInteraction on DragBoxLayer.destroy()","user":{"login":"ztsai","id":1817638,"avatar_url":"https://avatars.githubusercontent.com/u/1817638?v=3","gravatar_id":"","url":"https://api.github.com/users/ztsai","html_url":"https://github.com/ztsai","followers_url":"https://api.github.com/users/ztsai/followers","following_url":"https://api.github.com/users/ztsai/following{/other_user}","gists_url":"https://api.github.com/users/ztsai/gists{/gist_id}","starred_url":"https://api.github.com/users/ztsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztsai/subscriptions","organizations_url":"https://api.github.com/users/ztsai/orgs","repos_url":"https://api.github.com/users/ztsai/repos","events_url":"https://api.github.com/users/ztsai/events{/privacy}","received_events_url":"https://api.github.com/users/ztsai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/palantir/plottable/labels/In%20CR","name":"In CR","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"aicioara","id":3248682,"avatar_url":"https://avatars.githubusercontent.com/u/3248682?v=3","gravatar_id":"","url":"https://api.github.com/users/aicioara","html_url":"https://github.com/aicioara","followers_url":"https://api.github.com/users/aicioara/followers","following_url":"https://api.github.com/users/aicioara/following{/other_user}","gists_url":"https://api.github.com/users/aicioara/gists{/gist_id}","starred_url":"https://api.github.com/users/aicioara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aicioara/subscriptions","organizations_url":"https://api.github.com/users/aicioara/orgs","repos_url":"https://api.github.com/users/aicioara/repos","events_url":"https://api.github.com/users/aicioara/events{/privacy}","received_events_url":"https://api.github.com/users/aicioara/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/palantir/plottable/milestones/51","html_url":"https://github.com/palantir/plottable/milestones/v1.12.0","labels_url":"https://api.github.com/repos/palantir/plottable/milestones/51/labels","id":1270447,"number":51,"title":"v1.12.0","description":"","creator":{"login":"christinaforney","id":1559622,"avatar_url":"https://avatars.githubusercontent.com/u/1559622?v=3","gravatar_id":"","url":"https://api.github.com/users/christinaforney","html_url":"https://github.com/christinaforney","followers_url":"https://api.github.com/users/christinaforney/followers","following_url":"https://api.github.com/users/christinaforney/following{/other_user}","gists_url":"https://api.github.com/users/christinaforney/gists{/gist_id}","starred_url":"https://api.github.com/users/christinaforney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christinaforney/subscriptions","organizations_url":"https://api.github.com/users/christinaforney/orgs","repos_url":"https://api.github.com/users/christinaforney/repos","events_url":"https://api.github.com/users/christinaforney/events{/privacy}","received_events_url":"https://api.github.com/users/christinaforney/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2015-08-24T21:49:38Z","updated_at":"2015-09-14T20:34:24Z","due_on":"2015-09-18T07:00:00Z","closed_at":null},"comments":6,"created_at":"2015-09-10T02:31:15Z","updated_at":"2015-09-14T21:01:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/palantir/plottable/pulls/2745","html_url":"https://github.com/palantir/plottable/pull/2745","diff_url":"https://github.com/palantir/plottable/pull/2745.diff","patch_url":"https://github.com/palantir/plottable/pull/2745.patch"},"body":"closes #2553 \r\ndetach all dragInteractions on a DragBoxLayer when it's destroyed or detached\r\n\r\ndestroyed:\r\noriginal: http://jsfiddle.net/fee6p9w0/6/\r\nfixed: http://jsfiddle.net/fee6p9w0/16/\r\nnote that after clicking destroy button, there's still console log indicating interaction callback being fired in the original fiddle when drag events happen.\r\n\r\ndetached:\r\noriginal: http://jsfiddle.net/fee6p9w0/24/\r\nfixed: http://jsfiddle.net/fee6p9w0/25/\r\nafter clicking `detach` button there shouldn't be any console log while dragging, clicking `attach` will bring interaction and dbl back.\r\n"},"comment":{"url":"https://api.github.com/repos/palantir/plottable/issues/comments/140204908","html_url":"https://github.com/palantir/plottable/pull/2745#issuecomment-140204908","issue_url":"https://api.github.com/repos/palantir/plottable/issues/2745","id":140204908,"user":{"login":"ztsai","id":1817638,"avatar_url":"https://avatars.githubusercontent.com/u/1817638?v=3","gravatar_id":"","url":"https://api.github.com/users/ztsai","html_url":"https://github.com/ztsai","followers_url":"https://api.github.com/users/ztsai/followers","following_url":"https://api.github.com/users/ztsai/following{/other_user}","gists_url":"https://api.github.com/users/ztsai/gists{/gist_id}","starred_url":"https://api.github.com/users/ztsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztsai/subscriptions","organizations_url":"https://api.github.com/users/ztsai/orgs","repos_url":"https://api.github.com/users/ztsai/repos","events_url":"https://api.github.com/users/ztsai/events{/privacy}","received_events_url":"https://api.github.com/users/ztsai/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T21:01:36Z","updated_at":"2015-09-14T21:01:36Z","body":"QE notes above"}}