{"action":"created","comment":{"url":"https://api.github.com/repos/TEAMMATES/repo/pulls/comments/22755969","id":22755969,"diff_hunk":"@@ -1375,4 +1377,49 @@ function highlightRubricCol(index, questionNumber, highlight) {\n     } else {\n         $('.rubricCol' + idSuffix + '-' + index).removeClass('cell-selected-negative');\n     }\n+}\n+\n+function setupFsCopyModal() {\n+    $('#fsCopyModal').on('show.bs.modal', function (event) {\n+        var button = $(event.relatedTarget); // Button that triggered the modal\n+        var actionlink = button.data('actionlink');\n+        var courseid = button.data('courseid');\n+        var fsname = button.data('fsname');\n+        \n+        $.ajax({\n+            type : 'GET',\n+            url : actionlink,\n+            beforeSend : function() {\n+                $('#courseList').html(\"<img class='margin-center-horizontal' src='/images/ajax-loader.gif'/>\");\n+            },\n+            error : function() {\n+                $('#courseList').html('Error retrieving course list.' + \n+                    'Please close the dialog window and try again.');\n+            },\n+            success : function(data) {\n+                setTimeout(function(){","path":"src/main/webapp/js/instructorFeedbackEdit.js","position":33,"original_position":33,"commit_id":"d7f18db98ad7e6d152072d282bcc027cedde5ec1","original_commit_id":"d7f18db98ad7e6d152072d282bcc027cedde5ec1","user":{"login":"LowWeiLin","id":3910365,"avatar_url":"https://avatars.githubusercontent.com/u/3910365?v=3","gravatar_id":"","url":"https://api.github.com/users/LowWeiLin","html_url":"https://github.com/LowWeiLin","followers_url":"https://api.github.com/users/LowWeiLin/followers","following_url":"https://api.github.com/users/LowWeiLin/following{/other_user}","gists_url":"https://api.github.com/users/LowWeiLin/gists{/gist_id}","starred_url":"https://api.github.com/users/LowWeiLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LowWeiLin/subscriptions","organizations_url":"https://api.github.com/users/LowWeiLin/orgs","repos_url":"https://api.github.com/users/LowWeiLin/repos","events_url":"https://api.github.com/users/LowWeiLin/events{/privacy}","received_events_url":"https://api.github.com/users/LowWeiLin/received_events","type":"User","site_admin":false},"body":"Why is there a need to setTimeout?","created_at":"2015-01-10T03:29:43Z","updated_at":"2015-01-10T03:29:43Z","html_url":"https://github.com/TEAMMATES/repo/pull/2858#discussion_r22755969","pull_request_url":"https://api.github.com/repos/TEAMMATES/repo/pulls/2858","_links":{"self":{"href":"https://api.github.com/repos/TEAMMATES/repo/pulls/comments/22755969"},"html":{"href":"https://github.com/TEAMMATES/repo/pull/2858#discussion_r22755969"},"pull_request":{"href":"https://api.github.com/repos/TEAMMATES/repo/pulls/2858"}}},"pull_request":{"url":"https://api.github.com/repos/TEAMMATES/repo/pulls/2858","id":27098233,"html_url":"https://github.com/TEAMMATES/repo/pull/2858","diff_url":"https://github.com/TEAMMATES/repo/pull/2858.diff","patch_url":"https://github.com/TEAMMATES/repo/pull/2858.patch","issue_url":"https://api.github.com/repos/TEAMMATES/repo/issues/2858","number":2858,"state":"open","locked":false,"title":"instructor: can copy a session to multiple other courses #2777","user":{"login":"kanghj","id":2216119,"avatar_url":"https://avatars.githubusercontent.com/u/2216119?v=3","gravatar_id":"","url":"https://api.github.com/users/kanghj","html_url":"https://github.com/kanghj","followers_url":"https://api.github.com/users/kanghj/followers","following_url":"https://api.github.com/users/kanghj/following{/other_user}","gists_url":"https://api.github.com/users/kanghj/gists{/gist_id}","starred_url":"https://api.github.com/users/kanghj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanghj/subscriptions","organizations_url":"https://api.github.com/users/kanghj/orgs","repos_url":"https://api.github.com/users/kanghj/repos","events_url":"https://api.github.com/users/kanghj/events{/privacy}","received_events_url":"https://api.github.com/users/kanghj/received_events","type":"User","site_admin":false},"body":"Fixes #2777","created_at":"2015-01-09T12:58:21Z","updated_at":"2015-01-10T03:29:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"103fea145783bbf0cf17116a9804f62dd64ef641","assignee":{"login":"LowWeiLin","id":3910365,"avatar_url":"https://avatars.githubusercontent.com/u/3910365?v=3","gravatar_id":"","url":"https://api.github.com/users/LowWeiLin","html_url":"https://github.com/LowWeiLin","followers_url":"https://api.github.com/users/LowWeiLin/followers","following_url":"https://api.github.com/users/LowWeiLin/following{/other_user}","gists_url":"https://api.github.com/users/LowWeiLin/gists{/gist_id}","starred_url":"https://api.github.com/users/LowWeiLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LowWeiLin/subscriptions","organizations_url":"https://api.github.com/users/LowWeiLin/orgs","repos_url":"https://api.github.com/users/LowWeiLin/repos","events_url":"https://api.github.com/users/LowWeiLin/events{/privacy}","received_events_url":"https://api.github.com/users/LowWeiLin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/TEAMMATES/repo/pulls/2858/commits","review_comments_url":"https://api.github.com/repos/TEAMMATES/repo/pulls/2858/comments","review_comment_url":"https://api.github.com/repos/TEAMMATES/repo/pulls/comments/{number}","comments_url":"https://api.github.com/repos/TEAMMATES/repo/issues/2858/comments","statuses_url":"https://api.github.com/repos/TEAMMATES/repo/statuses/d7f18db98ad7e6d152072d282bcc027cedde5ec1","head":{"label":"TEAMMATES:Issue2777","ref":"Issue2777","sha":"d7f18db98ad7e6d152072d282bcc027cedde5ec1","user":{"login":"TEAMMATES","id":7374810,"avatar_url":"https://avatars.githubusercontent.com/u/7374810?v=3","gravatar_id":"","url":"https://api.github.com/users/TEAMMATES","html_url":"https://github.com/TEAMMATES","followers_url":"https://api.github.com/users/TEAMMATES/followers","following_url":"https://api.github.com/users/TEAMMATES/following{/other_user}","gists_url":"https://api.github.com/users/TEAMMATES/gists{/gist_id}","starred_url":"https://api.github.com/users/TEAMMATES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEAMMATES/subscriptions","organizations_url":"https://api.github.com/users/TEAMMATES/orgs","repos_url":"https://api.github.com/users/TEAMMATES/repos","events_url":"https://api.github.com/users/TEAMMATES/events{/privacy}","received_events_url":"https://api.github.com/users/TEAMMATES/received_events","type":"Organization","site_admin":false},"repo":{"id":19369035,"name":"repo","full_name":"TEAMMATES/repo","owner":{"login":"TEAMMATES","id":7374810,"avatar_url":"https://avatars.githubusercontent.com/u/7374810?v=3","gravatar_id":"","url":"https://api.github.com/users/TEAMMATES","html_url":"https://github.com/TEAMMATES","followers_url":"https://api.github.com/users/TEAMMATES/followers","following_url":"https://api.github.com/users/TEAMMATES/following{/other_user}","gists_url":"https://api.github.com/users/TEAMMATES/gists{/gist_id}","starred_url":"https://api.github.com/users/TEAMMATES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEAMMATES/subscriptions","organizations_url":"https://api.github.com/users/TEAMMATES/orgs","repos_url":"https://api.github.com/users/TEAMMATES/repos","events_url":"https://api.github.com/users/TEAMMATES/events{/privacy}","received_events_url":"https://api.github.com/users/TEAMMATES/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TEAMMATES/repo","description":"","fork":false,"url":"https://api.github.com/repos/TEAMMATES/repo","forks_url":"https://api.github.com/repos/TEAMMATES/repo/forks","keys_url":"https://api.github.com/repos/TEAMMATES/repo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TEAMMATES/repo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TEAMMATES/repo/teams","hooks_url":"https://api.github.com/repos/TEAMMATES/repo/hooks","issue_events_url":"https://api.github.com/repos/TEAMMATES/repo/issues/events{/number}","events_url":"https://api.github.com/repos/TEAMMATES/repo/events","assignees_url":"https://api.github.com/repos/TEAMMATES/repo/assignees{/user}","branches_url":"https://api.github.com/repos/TEAMMATES/repo/branches{/branch}","tags_url":"https://api.github.com/repos/TEAMMATES/repo/tags","blobs_url":"https://api.github.com/repos/TEAMMATES/repo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TEAMMATES/repo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TEAMMATES/repo/git/refs{/sha}","trees_url":"https://api.github.com/repos/TEAMMATES/repo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TEAMMATES/repo/statuses/{sha}","languages_url":"https://api.github.com/repos/TEAMMATES/repo/languages","stargazers_url":"https://api.github.com/repos/TEAMMATES/repo/stargazers","contributors_url":"https://api.github.com/repos/TEAMMATES/repo/contributors","subscribers_url":"https://api.github.com/repos/TEAMMATES/repo/subscribers","subscription_url":"https://api.github.com/repos/TEAMMATES/repo/subscription","commits_url":"https://api.github.com/repos/TEAMMATES/repo/commits{/sha}","git_commits_url":"https://api.github.com/repos/TEAMMATES/repo/git/commits{/sha}","comments_url":"https://api.github.com/repos/TEAMMATES/repo/comments{/number}","issue_comment_url":"https://api.github.com/repos/TEAMMATES/repo/issues/comments/{number}","contents_url":"https://api.github.com/repos/TEAMMATES/repo/contents/{+path}","compare_url":"https://api.github.com/repos/TEAMMATES/repo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TEAMMATES/repo/merges","archive_url":"https://api.github.com/repos/TEAMMATES/repo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TEAMMATES/repo/downloads","issues_url":"https://api.github.com/repos/TEAMMATES/repo/issues{/number}","pulls_url":"https://api.github.com/repos/TEAMMATES/repo/pulls{/number}","milestones_url":"https://api.github.com/repos/TEAMMATES/repo/milestones{/number}","notifications_url":"https://api.github.com/repos/TEAMMATES/repo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TEAMMATES/repo/labels{/name}","releases_url":"https://api.github.com/repos/TEAMMATES/repo/releases{/id}","created_at":"2014-05-02T07:43:00Z","updated_at":"2015-01-09T03:57:19Z","pushed_at":"2015-01-09T12:54:25Z","git_url":"git://github.com/TEAMMATES/repo.git","ssh_url":"git@github.com:TEAMMATES/repo.git","clone_url":"https://github.com/TEAMMATES/repo.git","svn_url":"https://github.com/TEAMMATES/repo","homepage":"","size":117795,"stargazers_count":24,"watchers_count":24,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":378,"forks":20,"open_issues":378,"watchers":24,"default_branch":"master"}},"base":{"label":"TEAMMATES:master","ref":"master","sha":"67397661d6325fc046bd22ee886a2510f8ca7d24","user":{"login":"TEAMMATES","id":7374810,"avatar_url":"https://avatars.githubusercontent.com/u/7374810?v=3","gravatar_id":"","url":"https://api.github.com/users/TEAMMATES","html_url":"https://github.com/TEAMMATES","followers_url":"https://api.github.com/users/TEAMMATES/followers","following_url":"https://api.github.com/users/TEAMMATES/following{/other_user}","gists_url":"https://api.github.com/users/TEAMMATES/gists{/gist_id}","starred_url":"https://api.github.com/users/TEAMMATES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEAMMATES/subscriptions","organizations_url":"https://api.github.com/users/TEAMMATES/orgs","repos_url":"https://api.github.com/users/TEAMMATES/repos","events_url":"https://api.github.com/users/TEAMMATES/events{/privacy}","received_events_url":"https://api.github.com/users/TEAMMATES/received_events","type":"Organization","site_admin":false},"repo":{"id":19369035,"name":"repo","full_name":"TEAMMATES/repo","owner":{"login":"TEAMMATES","id":7374810,"avatar_url":"https://avatars.githubusercontent.com/u/7374810?v=3","gravatar_id":"","url":"https://api.github.com/users/TEAMMATES","html_url":"https://github.com/TEAMMATES","followers_url":"https://api.github.com/users/TEAMMATES/followers","following_url":"https://api.github.com/users/TEAMMATES/following{/other_user}","gists_url":"https://api.github.com/users/TEAMMATES/gists{/gist_id}","starred_url":"https://api.github.com/users/TEAMMATES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEAMMATES/subscriptions","organizations_url":"https://api.github.com/users/TEAMMATES/orgs","repos_url":"https://api.github.com/users/TEAMMATES/repos","events_url":"https://api.github.com/users/TEAMMATES/events{/privacy}","received_events_url":"https://api.github.com/users/TEAMMATES/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TEAMMATES/repo","description":"","fork":false,"url":"https://api.github.com/repos/TEAMMATES/repo","forks_url":"https://api.github.com/repos/TEAMMATES/repo/forks","keys_url":"https://api.github.com/repos/TEAMMATES/repo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TEAMMATES/repo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TEAMMATES/repo/teams","hooks_url":"https://api.github.com/repos/TEAMMATES/repo/hooks","issue_events_url":"https://api.github.com/repos/TEAMMATES/repo/issues/events{/number}","events_url":"https://api.github.com/repos/TEAMMATES/repo/events","assignees_url":"https://api.github.com/repos/TEAMMATES/repo/assignees{/user}","branches_url":"https://api.github.com/repos/TEAMMATES/repo/branches{/branch}","tags_url":"https://api.github.com/repos/TEAMMATES/repo/tags","blobs_url":"https://api.github.com/repos/TEAMMATES/repo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TEAMMATES/repo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TEAMMATES/repo/git/refs{/sha}","trees_url":"https://api.github.com/repos/TEAMMATES/repo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TEAMMATES/repo/statuses/{sha}","languages_url":"https://api.github.com/repos/TEAMMATES/repo/languages","stargazers_url":"https://api.github.com/repos/TEAMMATES/repo/stargazers","contributors_url":"https://api.github.com/repos/TEAMMATES/repo/contributors","subscribers_url":"https://api.github.com/repos/TEAMMATES/repo/subscribers","subscription_url":"https://api.github.com/repos/TEAMMATES/repo/subscription","commits_url":"https://api.github.com/repos/TEAMMATES/repo/commits{/sha}","git_commits_url":"https://api.github.com/repos/TEAMMATES/repo/git/commits{/sha}","comments_url":"https://api.github.com/repos/TEAMMATES/repo/comments{/number}","issue_comment_url":"https://api.github.com/repos/TEAMMATES/repo/issues/comments/{number}","contents_url":"https://api.github.com/repos/TEAMMATES/repo/contents/{+path}","compare_url":"https://api.github.com/repos/TEAMMATES/repo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TEAMMATES/repo/merges","archive_url":"https://api.github.com/repos/TEAMMATES/repo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TEAMMATES/repo/downloads","issues_url":"https://api.github.com/repos/TEAMMATES/repo/issues{/number}","pulls_url":"https://api.github.com/repos/TEAMMATES/repo/pulls{/number}","milestones_url":"https://api.github.com/repos/TEAMMATES/repo/milestones{/number}","notifications_url":"https://api.github.com/repos/TEAMMATES/repo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TEAMMATES/repo/labels{/name}","releases_url":"https://api.github.com/repos/TEAMMATES/repo/releases{/id}","created_at":"2014-05-02T07:43:00Z","updated_at":"2015-01-09T03:57:19Z","pushed_at":"2015-01-09T12:54:25Z","git_url":"git://github.com/TEAMMATES/repo.git","ssh_url":"git@github.com:TEAMMATES/repo.git","clone_url":"https://github.com/TEAMMATES/repo.git","svn_url":"https://github.com/TEAMMATES/repo","homepage":"","size":117795,"stargazers_count":24,"watchers_count":24,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":378,"forks":20,"open_issues":378,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TEAMMATES/repo/pulls/2858"},"html":{"href":"https://github.com/TEAMMATES/repo/pull/2858"},"issue":{"href":"https://api.github.com/repos/TEAMMATES/repo/issues/2858"},"comments":{"href":"https://api.github.com/repos/TEAMMATES/repo/issues/2858/comments"},"review_comments":{"href":"https://api.github.com/repos/TEAMMATES/repo/pulls/2858/comments"},"review_comment":{"href":"https://api.github.com/repos/TEAMMATES/repo/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/TEAMMATES/repo/pulls/2858/commits"},"statuses":{"href":"https://api.github.com/repos/TEAMMATES/repo/statuses/d7f18db98ad7e6d152072d282bcc027cedde5ec1"}}}}