{"action":"created","issue":{"url":"https://api.github.com/repos/att/rcloud/issues/1874","repository_url":"https://api.github.com/repos/att/rcloud","labels_url":"https://api.github.com/repos/att/rcloud/issues/1874/labels{/name}","comments_url":"https://api.github.com/repos/att/rcloud/issues/1874/comments","events_url":"https://api.github.com/repos/att/rcloud/issues/1874/events","html_url":"https://github.com/att/rcloud/issues/1874","id":143183925,"number":1874,"title":"Cell get deleted in read only mode","user":{"login":"sanketd11","id":9251570,"avatar_url":"https://avatars.githubusercontent.com/u/9251570?v=3","gravatar_id":"","url":"https://api.github.com/users/sanketd11","html_url":"https://github.com/sanketd11","followers_url":"https://api.github.com/users/sanketd11/followers","following_url":"https://api.github.com/users/sanketd11/following{/other_user}","gists_url":"https://api.github.com/users/sanketd11/gists{/gist_id}","starred_url":"https://api.github.com/users/sanketd11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanketd11/subscriptions","organizations_url":"https://api.github.com/users/sanketd11/orgs","repos_url":"https://api.github.com/users/sanketd11/repos","events_url":"https://api.github.com/users/sanketd11/events{/privacy}","received_events_url":"https://api.github.com/users/sanketd11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-24T08:22:40Z","updated_at":"2016-03-24T12:31:48Z","closed_at":null,"body":"According to current behavior:\r\nIn a read only notebook, the cells get selected when we click on the title bar of the cell. After selecting the cells if we press < Del > key, the cells get deleted followed by  the error message in session div. \r\n\r\n- \r\n ![c1](https://cloud.githubusercontent.com/assets/9251570/14011714/2c534a36-f177-11e5-80e4-1d8a4f9c85d5.PNG)\r\n\r\n-  \r\n![c3](https://cloud.githubusercontent.com/assets/9251570/14011723/39b535a4-f177-11e5-9400-47470e6f4de5.PNG)\r\n\r\n- \r\n ![c2](https://cloud.githubusercontent.com/assets/9251570/14011729/431c0d98-f177-11e5-9de7-8ddddc760ac9.PNG)\r\n\r\n\r\nReloading the page brings the content back to notebook.\r\n\r\n\r\n  "},"comment":{"url":"https://api.github.com/repos/att/rcloud/issues/comments/200811467","html_url":"https://github.com/att/rcloud/issues/1874#issuecomment-200811467","issue_url":"https://api.github.com/repos/att/rcloud/issues/1874","id":200811467,"user":{"login":"shaneporter","id":2493614,"avatar_url":"https://avatars.githubusercontent.com/u/2493614?v=3","gravatar_id":"","url":"https://api.github.com/users/shaneporter","html_url":"https://github.com/shaneporter","followers_url":"https://api.github.com/users/shaneporter/followers","following_url":"https://api.github.com/users/shaneporter/following{/other_user}","gists_url":"https://api.github.com/users/shaneporter/gists{/gist_id}","starred_url":"https://api.github.com/users/shaneporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaneporter/subscriptions","organizations_url":"https://api.github.com/users/shaneporter/orgs","repos_url":"https://api.github.com/users/shaneporter/repos","events_url":"https://api.github.com/users/shaneporter/events{/privacy}","received_events_url":"https://api.github.com/users/shaneporter/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T12:31:48Z","updated_at":"2016-03-24T12:31:48Z","body":"In edit mode, selecting is the first step towards deleting a cell or cells.\r\n\r\nI was going to prevent selection in read only mode, but perhaps it still makes some sense to select a cell or cells. Perhaps to highlight an interesting cell (particularly if the notebook has lots of cells.) @gordonwoodhull  - what do you think? Prevent selection in read only mode?\r\n\r\nI will of course fix the delete issue :)"}}