{"action":"created","issue":{"url":"https://api.github.com/repos/bomsy/brackets-compare/issues/35","repository_url":"https://api.github.com/repos/bomsy/brackets-compare","labels_url":"https://api.github.com/repos/bomsy/brackets-compare/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/bomsy/brackets-compare/issues/35/comments","events_url":"https://api.github.com/repos/bomsy/brackets-compare/issues/35/events","html_url":"https://github.com/bomsy/brackets-compare/issues/35","id":207232821,"number":35,"title":"Cannot save changes made in diff view","user":{"login":"Olatunji-Longe","id":5619338,"avatar_url":"https://avatars3.githubusercontent.com/u/5619338?v=3","gravatar_id":"","url":"https://api.github.com/users/Olatunji-Longe","html_url":"https://github.com/Olatunji-Longe","followers_url":"https://api.github.com/users/Olatunji-Longe/followers","following_url":"https://api.github.com/users/Olatunji-Longe/following{/other_user}","gists_url":"https://api.github.com/users/Olatunji-Longe/gists{/gist_id}","starred_url":"https://api.github.com/users/Olatunji-Longe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Olatunji-Longe/subscriptions","organizations_url":"https://api.github.com/users/Olatunji-Longe/orgs","repos_url":"https://api.github.com/users/Olatunji-Longe/repos","events_url":"https://api.github.com/users/Olatunji-Longe/events{/privacy}","received_events_url":"https://api.github.com/users/Olatunji-Longe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-13T14:26:19Z","updated_at":"2017-05-03T15:26:17Z","closed_at":null,"body":"Cannot save changes made in diff view. This issue has been closed in 2015, but still exixts even in 2017. Why was it closed?"},"comment":{"url":"https://api.github.com/repos/bomsy/brackets-compare/issues/comments/298945771","html_url":"https://github.com/bomsy/brackets-compare/issues/35#issuecomment-298945771","issue_url":"https://api.github.com/repos/bomsy/brackets-compare/issues/35","id":298945771,"user":{"login":"mnishig","id":12446130,"avatar_url":"https://avatars2.githubusercontent.com/u/12446130?v=3","gravatar_id":"","url":"https://api.github.com/users/mnishig","html_url":"https://github.com/mnishig","followers_url":"https://api.github.com/users/mnishig/followers","following_url":"https://api.github.com/users/mnishig/following{/other_user}","gists_url":"https://api.github.com/users/mnishig/gists{/gist_id}","starred_url":"https://api.github.com/users/mnishig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnishig/subscriptions","organizations_url":"https://api.github.com/users/mnishig/orgs","repos_url":"https://api.github.com/users/mnishig/repos","events_url":"https://api.github.com/users/mnishig/events{/privacy}","received_events_url":"https://api.github.com/users/mnishig/received_events","type":"User","site_admin":false},"created_at":"2017-05-03T15:26:17Z","updated_at":"2017-05-03T15:26:17Z","body":"In my installation is not line 158,  M4TH76's patch put to line 156 after else { ,\r\nand run perfectly with following patch.\r\n\r\n```\r\n--- main.js\t2017-05-04 00:18:12.000000000 +0900\r\n+++ main.js.fix\t2017-05-04 00:18:34.000000000 +0900\r\n@@ -153,11 +153,15 @@\r\n           compareEditor.css(\"height\", editorCurrentHeight + \"px\");\r\n           hdiff = compareEditor.parent().height() - editorCurrentHeight;\r\n         } else {\r\n+          MainViewManager.setActivePaneId(panes[0]);\r\n+          var document = DocumentManager.getCurrentDocument();\r\n+          document.setText(compareView.editor().getValue()); \r\n+          \r\n           comparePanel.hide();\r\n           target.innerHTML = \"\";\r\n           compareView = null;\r\n-          editor.removeClass(\"hide\");\r\n-          WorkspaceManager.off(WorkspaceManager.EVENT_WORKSPACE_UPDATE_LAYOUT, onWorkspaceLayoutUpdate);\r\n+          editor.removeClass(\"hide\");    \r\n+        WorkspaceManager.off(WorkspaceManager.EVENT_WORKSPACE_UPDATE_LAYOUT, onWorkspaceLayoutUpdate);\r\n           Sidebar.show();\r\n         }\r\n       });\r\n\r\n```"}}
{"actor":{"display_login":"mnishig"}}