{"action":"closed","number":36,"pull_request":{"url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/pulls/36","id":57922385,"html_url":"https://github.com/jhoopes/moodle-mod_activequiz/pull/36","diff_url":"https://github.com/jhoopes/moodle-mod_activequiz/pull/36.diff","patch_url":"https://github.com/jhoopes/moodle-mod_activequiz/pull/36.patch","issue_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/issues/36","number":36,"state":"closed","locked":false,"title":"Save tinymce content if its set as the editor","user":{"login":"aolley","id":549522,"avatar_url":"https://avatars.githubusercontent.com/u/549522?v=3","gravatar_id":"","url":"https://api.github.com/users/aolley","html_url":"https://github.com/aolley","followers_url":"https://api.github.com/users/aolley/followers","following_url":"https://api.github.com/users/aolley/following{/other_user}","gists_url":"https://api.github.com/users/aolley/gists{/gist_id}","starred_url":"https://api.github.com/users/aolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aolley/subscriptions","organizations_url":"https://api.github.com/users/aolley/orgs","repos_url":"https://api.github.com/users/aolley/repos","events_url":"https://api.github.com/users/aolley/events{/privacy}","received_events_url":"https://api.github.com/users/aolley/received_events","type":"User","site_admin":false},"body":"Using an essay question type in Active Quiz with tinymce as your editor, the answer fails to save.\r\n\r\nReplicate:\r\n- Make sure that your Text Editor by default is TinyMCE\r\n- Create an active quiz inside a course.\r\n- Click \"Edit quiz\" and add a question. Select \"essay\" type and add it.\r\n- Click the \"View quiz\" link and start the session.\r\n- Type your answer on the TinyMCE editor and click \"End question\".\r\n- Click \"Close session\".\r\n- Click \"View responses\". \r\n- Select the session name you have closed in the drop-down list.\r\n- Click on the \"Edit/View Attemp\" to see the response.\r\n- You will see that the answer was not saved.","created_at":"2016-02-02T00:20:45Z","updated_at":"2016-02-03T00:47:09Z","closed_at":"2016-02-03T00:47:09Z","merged_at":"2016-02-03T00:47:09Z","merge_commit_sha":"ec5b55f9958b0210371da0c66cb45990046cd829","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/pulls/36/commits","review_comments_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/pulls/36/comments","review_comment_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/issues/36/comments","statuses_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/statuses/9f4a908a2d8f129c7a514a69798cf0fd64fa0b55","head":{"label":"aolley:tinymce","ref":"tinymce","sha":"9f4a908a2d8f129c7a514a69798cf0fd64fa0b55","user":{"login":"aolley","id":549522,"avatar_url":"https://avatars.githubusercontent.com/u/549522?v=3","gravatar_id":"","url":"https://api.github.com/users/aolley","html_url":"https://github.com/aolley","followers_url":"https://api.github.com/users/aolley/followers","following_url":"https://api.github.com/users/aolley/following{/other_user}","gists_url":"https://api.github.com/users/aolley/gists{/gist_id}","starred_url":"https://api.github.com/users/aolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aolley/subscriptions","organizations_url":"https://api.github.com/users/aolley/orgs","repos_url":"https://api.github.com/users/aolley/repos","events_url":"https://api.github.com/users/aolley/events{/privacy}","received_events_url":"https://api.github.com/users/aolley/received_events","type":"User","site_admin":false},"repo":{"id":50881097,"name":"moodle-mod_activequiz","full_name":"aolley/moodle-mod_activequiz","owner":{"login":"aolley","id":549522,"avatar_url":"https://avatars.githubusercontent.com/u/549522?v=3","gravatar_id":"","url":"https://api.github.com/users/aolley","html_url":"https://github.com/aolley","followers_url":"https://api.github.com/users/aolley/followers","following_url":"https://api.github.com/users/aolley/following{/other_user}","gists_url":"https://api.github.com/users/aolley/gists{/gist_id}","starred_url":"https://api.github.com/users/aolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aolley/subscriptions","organizations_url":"https://api.github.com/users/aolley/orgs","repos_url":"https://api.github.com/users/aolley/repos","events_url":"https://api.github.com/users/aolley/events{/privacy}","received_events_url":"https://api.github.com/users/aolley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aolley/moodle-mod_activequiz","description":"Update to the realtimequiz module, but renamed as a totally new module","fork":true,"url":"https://api.github.com/repos/aolley/moodle-mod_activequiz","forks_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/forks","keys_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/teams","hooks_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/hooks","issue_events_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/issues/events{/number}","events_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/events","assignees_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/assignees{/user}","branches_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/branches{/branch}","tags_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/tags","blobs_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/statuses/{sha}","languages_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/languages","stargazers_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/stargazers","contributors_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/contributors","subscribers_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/subscribers","subscription_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/subscription","commits_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/contents/{+path}","compare_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/merges","archive_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/downloads","issues_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/issues{/number}","pulls_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/pulls{/number}","milestones_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/milestones{/number}","notifications_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/labels{/name}","releases_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/releases{/id}","deployments_url":"https://api.github.com/repos/aolley/moodle-mod_activequiz/deployments","created_at":"2016-02-02T00:11:03Z","updated_at":"2016-02-02T00:11:04Z","pushed_at":"2016-02-02T00:18:49Z","git_url":"git://github.com/aolley/moodle-mod_activequiz.git","ssh_url":"git@github.com:aolley/moodle-mod_activequiz.git","clone_url":"https://github.com/aolley/moodle-mod_activequiz.git","svn_url":"https://github.com/aolley/moodle-mod_activequiz","homepage":null,"size":424,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"jhoopes:master","ref":"master","sha":"15ed75c09da9bcbf6a5bbd64df8b1fbbf95f582c","user":{"login":"jhoopes","id":3297518,"avatar_url":"https://avatars.githubusercontent.com/u/3297518?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoopes","html_url":"https://github.com/jhoopes","followers_url":"https://api.github.com/users/jhoopes/followers","following_url":"https://api.github.com/users/jhoopes/following{/other_user}","gists_url":"https://api.github.com/users/jhoopes/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoopes/subscriptions","organizations_url":"https://api.github.com/users/jhoopes/orgs","repos_url":"https://api.github.com/users/jhoopes/repos","events_url":"https://api.github.com/users/jhoopes/events{/privacy}","received_events_url":"https://api.github.com/users/jhoopes/received_events","type":"User","site_admin":false},"repo":{"id":35464082,"name":"moodle-mod_activequiz","full_name":"jhoopes/moodle-mod_activequiz","owner":{"login":"jhoopes","id":3297518,"avatar_url":"https://avatars.githubusercontent.com/u/3297518?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoopes","html_url":"https://github.com/jhoopes","followers_url":"https://api.github.com/users/jhoopes/followers","following_url":"https://api.github.com/users/jhoopes/following{/other_user}","gists_url":"https://api.github.com/users/jhoopes/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoopes/subscriptions","organizations_url":"https://api.github.com/users/jhoopes/orgs","repos_url":"https://api.github.com/users/jhoopes/repos","events_url":"https://api.github.com/users/jhoopes/events{/privacy}","received_events_url":"https://api.github.com/users/jhoopes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhoopes/moodle-mod_activequiz","description":"Update to the realtimequiz module, but renamed as a totally new module","fork":false,"url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz","forks_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/forks","keys_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/teams","hooks_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/hooks","issue_events_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/issues/events{/number}","events_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/events","assignees_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/assignees{/user}","branches_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/branches{/branch}","tags_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/tags","blobs_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/statuses/{sha}","languages_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/languages","stargazers_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/stargazers","contributors_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/contributors","subscribers_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/subscribers","subscription_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/subscription","commits_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/contents/{+path}","compare_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/merges","archive_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/downloads","issues_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/issues{/number}","pulls_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/pulls{/number}","milestones_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/milestones{/number}","notifications_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/labels{/name}","releases_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/releases{/id}","deployments_url":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/deployments","created_at":"2015-05-12T03:13:23Z","updated_at":"2016-02-03T00:33:59Z","pushed_at":"2016-02-03T00:47:09Z","git_url":"git://github.com/jhoopes/moodle-mod_activequiz.git","ssh_url":"git@github.com:jhoopes/moodle-mod_activequiz.git","clone_url":"https://github.com/jhoopes/moodle-mod_activequiz.git","svn_url":"https://github.com/jhoopes/moodle-mod_activequiz","homepage":null,"size":431,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":17,"forks":5,"open_issues":17,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/pulls/36"},"html":{"href":"https://github.com/jhoopes/moodle-mod_activequiz/pull/36"},"issue":{"href":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/issues/36"},"comments":{"href":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/jhoopes/moodle-mod_activequiz/statuses/9f4a908a2d8f129c7a514a69798cf0fd64fa0b55"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jhoopes","id":3297518,"avatar_url":"https://avatars.githubusercontent.com/u/3297518?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoopes","html_url":"https://github.com/jhoopes","followers_url":"https://api.github.com/users/jhoopes/followers","following_url":"https://api.github.com/users/jhoopes/following{/other_user}","gists_url":"https://api.github.com/users/jhoopes/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoopes/subscriptions","organizations_url":"https://api.github.com/users/jhoopes/orgs","repos_url":"https://api.github.com/users/jhoopes/repos","events_url":"https://api.github.com/users/jhoopes/events{/privacy}","received_events_url":"https://api.github.com/users/jhoopes/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":8,"deletions":0,"changed_files":2}}