{"action":"created","comment":{"url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/comments/59996791","id":59996791,"diff_hunk":"@@ -344,8 +372,9 @@ module.exports = baseVw.extend({\n         blocked = this.options.userModel.get('blocked_guids') || [],\n         isBlocked = blocked.indexOf(this.pageID) !== -1;\n \n-    //add blocked status to model\n-    this.model.set('isBlocked', isBlocked);\n+    this.model.set('isBlocked', isBlocked); //add blocked status to model\n+    this.model.set('ctrlCmdKey', config.keyShortcutPrefix);","path":"js/views/userPageVw.js","position":55,"original_position":55,"commit_id":"1aa6ab342c50d8541cb53eb2803d1a92a49a557b","original_commit_id":"1aa6ab342c50d8541cb53eb2803d1a92a49a557b","user":{"login":"rmisio","id":794517,"avatar_url":"https://avatars.githubusercontent.com/u/794517?v=3","gravatar_id":"","url":"https://api.github.com/users/rmisio","html_url":"https://github.com/rmisio","followers_url":"https://api.github.com/users/rmisio/followers","following_url":"https://api.github.com/users/rmisio/following{/other_user}","gists_url":"https://api.github.com/users/rmisio/gists{/gist_id}","starred_url":"https://api.github.com/users/rmisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmisio/subscriptions","organizations_url":"https://api.github.com/users/rmisio/orgs","repos_url":"https://api.github.com/users/rmisio/repos","events_url":"https://api.github.com/users/rmisio/events{/privacy}","received_events_url":"https://api.github.com/users/rmisio/received_events","type":"User","site_admin":false},"body":"Since config is available globally on Window, the template could just get it from there. No need to add it to the model and subsequently pass it into the template.","created_at":"2016-04-18T00:47:43Z","updated_at":"2016-04-18T00:47:43Z","html_url":"https://github.com/OpenBazaar/OpenBazaar-Client/pull/1367#discussion_r59996791","pull_request_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/1367","_links":{"self":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/comments/59996791"},"html":{"href":"https://github.com/OpenBazaar/OpenBazaar-Client/pull/1367#discussion_r59996791"},"pull_request":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/1367"}}},"pull_request":{"url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/1367","id":66528693,"html_url":"https://github.com/OpenBazaar/OpenBazaar-Client/pull/1367","diff_url":"https://github.com/OpenBazaar/OpenBazaar-Client/pull/1367.diff","patch_url":"https://github.com/OpenBazaar/OpenBazaar-Client/pull/1367.patch","issue_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/1367","number":1367,"state":"open","locked":false,"title":"Add shortcut key for \"Save Chagnes\" button","user":{"login":"mariodian","id":3636406,"avatar_url":"https://avatars.githubusercontent.com/u/3636406?v=3","gravatar_id":"","url":"https://api.github.com/users/mariodian","html_url":"https://github.com/mariodian","followers_url":"https://api.github.com/users/mariodian/followers","following_url":"https://api.github.com/users/mariodian/following{/other_user}","gists_url":"https://api.github.com/users/mariodian/gists{/gist_id}","starred_url":"https://api.github.com/users/mariodian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariodian/subscriptions","organizations_url":"https://api.github.com/users/mariodian/orgs","repos_url":"https://api.github.com/users/mariodian/repos","events_url":"https://api.github.com/users/mariodian/events{/privacy}","received_events_url":"https://api.github.com/users/mariodian/received_events","type":"User","site_admin":false},"body":"This PR adds a new shortcut key (cmd + s / ctrl + s) for all the \"Save Changes\" buttons. \r\n\r\n![screen shot 2016-04-15 at 2 07 49 am](https://cloud.githubusercontent.com/assets/3636406/14538586/0619cf72-02af-11e6-8b9e-9f5301a34bee.png)","created_at":"2016-04-14T18:09:55Z","updated_at":"2016-04-18T00:47:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"786d42b47b86d6f8075e50b620135475d252b519","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/1367/commits","review_comments_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/1367/comments","review_comment_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/1367/comments","statuses_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/statuses/1aa6ab342c50d8541cb53eb2803d1a92a49a557b","head":{"label":"mariodian:add_save_key","ref":"add_save_key","sha":"1aa6ab342c50d8541cb53eb2803d1a92a49a557b","user":{"login":"mariodian","id":3636406,"avatar_url":"https://avatars.githubusercontent.com/u/3636406?v=3","gravatar_id":"","url":"https://api.github.com/users/mariodian","html_url":"https://github.com/mariodian","followers_url":"https://api.github.com/users/mariodian/followers","following_url":"https://api.github.com/users/mariodian/following{/other_user}","gists_url":"https://api.github.com/users/mariodian/gists{/gist_id}","starred_url":"https://api.github.com/users/mariodian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariodian/subscriptions","organizations_url":"https://api.github.com/users/mariodian/orgs","repos_url":"https://api.github.com/users/mariodian/repos","events_url":"https://api.github.com/users/mariodian/events{/privacy}","received_events_url":"https://api.github.com/users/mariodian/received_events","type":"User","site_admin":false},"repo":{"id":53315030,"name":"OpenBazaar-Client","full_name":"mariodian/OpenBazaar-Client","owner":{"login":"mariodian","id":3636406,"avatar_url":"https://avatars.githubusercontent.com/u/3636406?v=3","gravatar_id":"","url":"https://api.github.com/users/mariodian","html_url":"https://github.com/mariodian","followers_url":"https://api.github.com/users/mariodian/followers","following_url":"https://api.github.com/users/mariodian/following{/other_user}","gists_url":"https://api.github.com/users/mariodian/gists{/gist_id}","starred_url":"https://api.github.com/users/mariodian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariodian/subscriptions","organizations_url":"https://api.github.com/users/mariodian/orgs","repos_url":"https://api.github.com/users/mariodian/repos","events_url":"https://api.github.com/users/mariodian/events{/privacy}","received_events_url":"https://api.github.com/users/mariodian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mariodian/OpenBazaar-Client","description":"Front-end Electron application for talking with the OpenBazaar-Server daemon","fork":true,"url":"https://api.github.com/repos/mariodian/OpenBazaar-Client","forks_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/forks","keys_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/teams","hooks_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/hooks","issue_events_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/issues/events{/number}","events_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/events","assignees_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/assignees{/user}","branches_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/branches{/branch}","tags_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/tags","blobs_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/languages","stargazers_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/stargazers","contributors_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/contributors","subscribers_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/subscribers","subscription_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/subscription","commits_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/contents/{+path}","compare_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/merges","archive_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/downloads","issues_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/issues{/number}","pulls_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/labels{/name}","releases_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/releases{/id}","deployments_url":"https://api.github.com/repos/mariodian/OpenBazaar-Client/deployments","created_at":"2016-03-07T09:59:54Z","updated_at":"2016-03-07T09:59:55Z","pushed_at":"2016-04-17T18:15:14Z","git_url":"git://github.com/mariodian/OpenBazaar-Client.git","ssh_url":"git@github.com:mariodian/OpenBazaar-Client.git","clone_url":"https://github.com/mariodian/OpenBazaar-Client.git","svn_url":"https://github.com/mariodian/OpenBazaar-Client","homepage":"","size":34960,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenBazaar:master","ref":"master","sha":"75bf90c2599f021ae09c1f6976e3a44257944689","user":{"login":"OpenBazaar","id":7438770,"avatar_url":"https://avatars.githubusercontent.com/u/7438770?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenBazaar","html_url":"https://github.com/OpenBazaar","followers_url":"https://api.github.com/users/OpenBazaar/followers","following_url":"https://api.github.com/users/OpenBazaar/following{/other_user}","gists_url":"https://api.github.com/users/OpenBazaar/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBazaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBazaar/subscriptions","organizations_url":"https://api.github.com/users/OpenBazaar/orgs","repos_url":"https://api.github.com/users/OpenBazaar/repos","events_url":"https://api.github.com/users/OpenBazaar/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBazaar/received_events","type":"Organization","site_admin":false},"repo":{"id":40909050,"name":"OpenBazaar-Client","full_name":"OpenBazaar/OpenBazaar-Client","owner":{"login":"OpenBazaar","id":7438770,"avatar_url":"https://avatars.githubusercontent.com/u/7438770?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenBazaar","html_url":"https://github.com/OpenBazaar","followers_url":"https://api.github.com/users/OpenBazaar/followers","following_url":"https://api.github.com/users/OpenBazaar/following{/other_user}","gists_url":"https://api.github.com/users/OpenBazaar/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBazaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBazaar/subscriptions","organizations_url":"https://api.github.com/users/OpenBazaar/orgs","repos_url":"https://api.github.com/users/OpenBazaar/repos","events_url":"https://api.github.com/users/OpenBazaar/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBazaar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenBazaar/OpenBazaar-Client","description":"Front-end Electron application for talking with the OpenBazaar-Server daemon","fork":false,"url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client","forks_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/forks","keys_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/teams","hooks_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/hooks","issue_events_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/events{/number}","events_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/events","assignees_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/assignees{/user}","branches_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/branches{/branch}","tags_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/tags","blobs_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/languages","stargazers_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/stargazers","contributors_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/contributors","subscribers_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/subscribers","subscription_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/subscription","commits_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/contents/{+path}","compare_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/merges","archive_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/downloads","issues_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues{/number}","pulls_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/labels{/name}","releases_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/releases{/id}","deployments_url":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/deployments","created_at":"2015-08-17T16:11:12Z","updated_at":"2016-04-17T22:43:32Z","pushed_at":"2016-04-17T21:26:33Z","git_url":"git://github.com/OpenBazaar/OpenBazaar-Client.git","ssh_url":"git@github.com:OpenBazaar/OpenBazaar-Client.git","clone_url":"https://github.com/OpenBazaar/OpenBazaar-Client.git","svn_url":"https://github.com/OpenBazaar/OpenBazaar-Client","homepage":"","size":35115,"stargazers_count":261,"watchers_count":261,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":122,"mirror_url":null,"open_issues_count":104,"forks":122,"open_issues":104,"watchers":261,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/1367"},"html":{"href":"https://github.com/OpenBazaar/OpenBazaar-Client/pull/1367"},"issue":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/1367"},"comments":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/issues/1367/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/1367/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/pulls/1367/commits"},"statuses":{"href":"https://api.github.com/repos/OpenBazaar/OpenBazaar-Client/statuses/1aa6ab342c50d8541cb53eb2803d1a92a49a557b"}}}}