{"action":"created","issue":{"url":"https://api.github.com/repos/divio/django-cms/issues/3349","repository_url":"https://api.github.com/repos/divio/django-cms","labels_url":"https://api.github.com/repos/divio/django-cms/issues/3349/labels{/name}","comments_url":"https://api.github.com/repos/divio/django-cms/issues/3349/comments","events_url":"https://api.github.com/repos/divio/django-cms/issues/3349/events","html_url":"https://github.com/divio/django-cms/issues/3349","id":39417291,"number":3349,"title":"Django CMS should ask before leaving the page when editing content","user":{"login":"ntrrgc","id":1002436,"avatar_url":"https://avatars.githubusercontent.com/u/1002436?v=3","gravatar_id":"","url":"https://api.github.com/users/ntrrgc","html_url":"https://github.com/ntrrgc","followers_url":"https://api.github.com/users/ntrrgc/followers","following_url":"https://api.github.com/users/ntrrgc/following{/other_user}","gists_url":"https://api.github.com/users/ntrrgc/gists{/gist_id}","starred_url":"https://api.github.com/users/ntrrgc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntrrgc/subscriptions","organizations_url":"https://api.github.com/users/ntrrgc/orgs","repos_url":"https://api.github.com/users/ntrrgc/repos","events_url":"https://api.github.com/users/ntrrgc/events{/privacy}","received_events_url":"https://api.github.com/users/ntrrgc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/divio/django-cms/labels/component:%20frontend","name":"component: frontend","color":"fef2c0"},{"url":"https://api.github.com/repos/divio/django-cms/labels/component:%20ux","name":"component: ux","color":"fef2c0"},{"url":"https://api.github.com/repos/divio/django-cms/labels/kind:%20enhancement","name":"kind: enhancement","color":"c7def8"}],"state":"closed","locked":false,"assignee":{"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},"assignees":[{"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}],"milestone":{"url":"https://api.github.com/repos/divio/django-cms/milestones/52","html_url":"https://github.com/divio/django-cms/milestones/3.3.1","labels_url":"https://api.github.com/repos/divio/django-cms/milestones/52/labels","id":1768817,"number":52,"title":"3.3.1","description":"","creator":{"login":"mkoistinen","id":615759,"avatar_url":"https://avatars.githubusercontent.com/u/615759?v=3","gravatar_id":"","url":"https://api.github.com/users/mkoistinen","html_url":"https://github.com/mkoistinen","followers_url":"https://api.github.com/users/mkoistinen/followers","following_url":"https://api.github.com/users/mkoistinen/following{/other_user}","gists_url":"https://api.github.com/users/mkoistinen/gists{/gist_id}","starred_url":"https://api.github.com/users/mkoistinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkoistinen/subscriptions","organizations_url":"https://api.github.com/users/mkoistinen/orgs","repos_url":"https://api.github.com/users/mkoistinen/repos","events_url":"https://api.github.com/users/mkoistinen/events{/privacy}","received_events_url":"https://api.github.com/users/mkoistinen/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":44,"state":"open","created_at":"2016-05-16T14:15:11Z","updated_at":"2016-07-08T13:08:17Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2014-08-04T12:49:50Z","updated_at":"2016-07-08T13:08:17Z","closed_at":"2016-07-08T13:08:17Z","body":"I was writing for a while in the Django CMS text editor, when I accidentaly pressed Ctrl+W in a flash. This is not so strange because I'm generally a console and vim user, so Ctrl+W means *delete word* before *close tab* for me.\r\n\r\nThe real problem is that this reflex act (that could also happen in many alternative forms, like closing a window and then remembering you were editing, closing the browser accidentally, pressing Ctrl+Q and more) has triggered half an hour of work lost.\r\n\r\nThat should not happen, not so easily."},"comment":{"url":"https://api.github.com/repos/divio/django-cms/issues/comments/231354661","html_url":"https://github.com/divio/django-cms/issues/3349#issuecomment-231354661","issue_url":"https://api.github.com/repos/divio/django-cms/issues/3349","id":231354661,"user":{"login":"czpython","id":994951,"avatar_url":"https://avatars.githubusercontent.com/u/994951?v=3","gravatar_id":"","url":"https://api.github.com/users/czpython","html_url":"https://github.com/czpython","followers_url":"https://api.github.com/users/czpython/followers","following_url":"https://api.github.com/users/czpython/following{/other_user}","gists_url":"https://api.github.com/users/czpython/gists{/gist_id}","starred_url":"https://api.github.com/users/czpython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czpython/subscriptions","organizations_url":"https://api.github.com/users/czpython/orgs","repos_url":"https://api.github.com/users/czpython/repos","events_url":"https://api.github.com/users/czpython/events{/privacy}","received_events_url":"https://api.github.com/users/czpython/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T13:08:17Z","updated_at":"2016-07-08T13:08:17Z","body":"Fixed by https://github.com/divio/django-cms/pull/5355"}}
{"actor":{"display_login":"czpython"}}