{"action":"created","comment":{"url":"https://api.github.com/repos/stefanfoulis/django-filer/pulls/comments/26197715","id":26197715,"diff_hunk":"@@ -9,10 +9,13 @@\n \t\tvar txt_name = name + '_description_txt';\r\n \t\tvar clear_name = name + '_clear';\r\n \t\tvar elem = document.getElementById(name);\r\n+\t\tvar old_id = elem.value;\r\n \t\tdocument.getElementById(name).value = chosenId;\r\n \t\tdocument.getElementById(img_name).src = chosenThumbnailUrl;\r\n \t\tdocument.getElementById(txt_name).innerHTML = chosenDescriptionTxt;\r\n \t\tdocument.getElementById(clear_name).style.display = 'inline';\r\n+\t\tif (old_id != chosenId)\r","path":"filer/static/filer/js/popup_handling.js","position":null,"original_position":9,"commit_id":"dbc794e190d5692c60af04c678211facb866b50c","original_commit_id":"1fef5b21eeb84b5c9a0ca2df58d2fbe13f1163e9","user":{"login":"astagi","id":537363,"avatar_url":"https://avatars.githubusercontent.com/u/537363?v=3","gravatar_id":"","url":"https://api.github.com/users/astagi","html_url":"https://github.com/astagi","followers_url":"https://api.github.com/users/astagi/followers","following_url":"https://api.github.com/users/astagi/following{/other_user}","gists_url":"https://api.github.com/users/astagi/gists{/gist_id}","starred_url":"https://api.github.com/users/astagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astagi/subscriptions","organizations_url":"https://api.github.com/users/astagi/orgs","repos_url":"https://api.github.com/users/astagi/repos","events_url":"https://api.github.com/users/astagi/events{/privacy}","received_events_url":"https://api.github.com/users/astagi/received_events","type":"User","site_admin":false},"body":"Updated! sorry :)","created_at":"2015-03-11T09:23:20Z","updated_at":"2015-03-11T09:23:20Z","html_url":"https://github.com/stefanfoulis/django-filer/pull/501#discussion_r26197715","pull_request_url":"https://api.github.com/repos/stefanfoulis/django-filer/pulls/501","_links":{"self":{"href":"https://api.github.com/repos/stefanfoulis/django-filer/pulls/comments/26197715"},"html":{"href":"https://github.com/stefanfoulis/django-filer/pull/501#discussion_r26197715"},"pull_request":{"href":"https://api.github.com/repos/stefanfoulis/django-filer/pulls/501"}}},"pull_request":{"url":"https://api.github.com/repos/stefanfoulis/django-filer/pulls/501","id":30227321,"html_url":"https://github.com/stefanfoulis/django-filer/pull/501","diff_url":"https://github.com/stefanfoulis/django-filer/pull/501.diff","patch_url":"https://github.com/stefanfoulis/django-filer/pull/501.patch","issue_url":"https://api.github.com/repos/stefanfoulis/django-filer/issues/501","number":501,"state":"open","locked":false,"title":"Trigger change event on hidden input when image id changes","user":{"login":"astagi","id":537363,"avatar_url":"https://avatars.githubusercontent.com/u/537363?v=3","gravatar_id":"","url":"https://api.github.com/users/astagi","html_url":"https://github.com/astagi","followers_url":"https://api.github.com/users/astagi/followers","following_url":"https://api.github.com/users/astagi/following{/other_user}","gists_url":"https://api.github.com/users/astagi/gists{/gist_id}","starred_url":"https://api.github.com/users/astagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astagi/subscriptions","organizations_url":"https://api.github.com/users/astagi/orgs","repos_url":"https://api.github.com/users/astagi/repos","events_url":"https://api.github.com/users/astagi/events{/privacy}","received_events_url":"https://api.github.com/users/astagi/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-28T17:24:07Z","updated_at":"2015-03-11T09:23:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fc6a8c7475162f54b0e76cbfa6fa2e32105cffc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stefanfoulis/django-filer/pulls/501/commits","review_comments_url":"https://api.github.com/repos/stefanfoulis/django-filer/pulls/501/comments","review_comment_url":"https://api.github.com/repos/stefanfoulis/django-filer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stefanfoulis/django-filer/issues/501/comments","statuses_url":"https://api.github.com/repos/stefanfoulis/django-filer/statuses/dbc794e190d5692c60af04c678211facb866b50c","head":{"label":"astagi:feature/idchange","ref":"feature/idchange","sha":"dbc794e190d5692c60af04c678211facb866b50c","user":{"login":"astagi","id":537363,"avatar_url":"https://avatars.githubusercontent.com/u/537363?v=3","gravatar_id":"","url":"https://api.github.com/users/astagi","html_url":"https://github.com/astagi","followers_url":"https://api.github.com/users/astagi/followers","following_url":"https://api.github.com/users/astagi/following{/other_user}","gists_url":"https://api.github.com/users/astagi/gists{/gist_id}","starred_url":"https://api.github.com/users/astagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astagi/subscriptions","organizations_url":"https://api.github.com/users/astagi/orgs","repos_url":"https://api.github.com/users/astagi/repos","events_url":"https://api.github.com/users/astagi/events{/privacy}","received_events_url":"https://api.github.com/users/astagi/received_events","type":"User","site_admin":false},"repo":{"id":31469441,"name":"django-filer","full_name":"astagi/django-filer","owner":{"login":"astagi","id":537363,"avatar_url":"https://avatars.githubusercontent.com/u/537363?v=3","gravatar_id":"","url":"https://api.github.com/users/astagi","html_url":"https://github.com/astagi","followers_url":"https://api.github.com/users/astagi/followers","following_url":"https://api.github.com/users/astagi/following{/other_user}","gists_url":"https://api.github.com/users/astagi/gists{/gist_id}","starred_url":"https://api.github.com/users/astagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astagi/subscriptions","organizations_url":"https://api.github.com/users/astagi/orgs","repos_url":"https://api.github.com/users/astagi/repos","events_url":"https://api.github.com/users/astagi/events{/privacy}","received_events_url":"https://api.github.com/users/astagi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/astagi/django-filer","description":"File and Image Management Application for django","fork":true,"url":"https://api.github.com/repos/astagi/django-filer","forks_url":"https://api.github.com/repos/astagi/django-filer/forks","keys_url":"https://api.github.com/repos/astagi/django-filer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/astagi/django-filer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/astagi/django-filer/teams","hooks_url":"https://api.github.com/repos/astagi/django-filer/hooks","issue_events_url":"https://api.github.com/repos/astagi/django-filer/issues/events{/number}","events_url":"https://api.github.com/repos/astagi/django-filer/events","assignees_url":"https://api.github.com/repos/astagi/django-filer/assignees{/user}","branches_url":"https://api.github.com/repos/astagi/django-filer/branches{/branch}","tags_url":"https://api.github.com/repos/astagi/django-filer/tags","blobs_url":"https://api.github.com/repos/astagi/django-filer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/astagi/django-filer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/astagi/django-filer/git/refs{/sha}","trees_url":"https://api.github.com/repos/astagi/django-filer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/astagi/django-filer/statuses/{sha}","languages_url":"https://api.github.com/repos/astagi/django-filer/languages","stargazers_url":"https://api.github.com/repos/astagi/django-filer/stargazers","contributors_url":"https://api.github.com/repos/astagi/django-filer/contributors","subscribers_url":"https://api.github.com/repos/astagi/django-filer/subscribers","subscription_url":"https://api.github.com/repos/astagi/django-filer/subscription","commits_url":"https://api.github.com/repos/astagi/django-filer/commits{/sha}","git_commits_url":"https://api.github.com/repos/astagi/django-filer/git/commits{/sha}","comments_url":"https://api.github.com/repos/astagi/django-filer/comments{/number}","issue_comment_url":"https://api.github.com/repos/astagi/django-filer/issues/comments{/number}","contents_url":"https://api.github.com/repos/astagi/django-filer/contents/{+path}","compare_url":"https://api.github.com/repos/astagi/django-filer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/astagi/django-filer/merges","archive_url":"https://api.github.com/repos/astagi/django-filer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/astagi/django-filer/downloads","issues_url":"https://api.github.com/repos/astagi/django-filer/issues{/number}","pulls_url":"https://api.github.com/repos/astagi/django-filer/pulls{/number}","milestones_url":"https://api.github.com/repos/astagi/django-filer/milestones{/number}","notifications_url":"https://api.github.com/repos/astagi/django-filer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/astagi/django-filer/labels{/name}","releases_url":"https://api.github.com/repos/astagi/django-filer/releases{/id}","created_at":"2015-02-28T17:10:48Z","updated_at":"2015-02-28T17:10:49Z","pushed_at":"2015-03-11T09:22:39Z","git_url":"git://github.com/astagi/django-filer.git","ssh_url":"git@github.com:astagi/django-filer.git","clone_url":"https://github.com/astagi/django-filer.git","svn_url":"https://github.com/astagi/django-filer","homepage":"https://github.com/stefanfoulis/django-filer/wiki","size":4060,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"stefanfoulis:develop","ref":"develop","sha":"025e55b53806c4155c313efde595fc3c3b815a43","user":{"login":"stefanfoulis","id":14330,"avatar_url":"https://avatars.githubusercontent.com/u/14330?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanfoulis","html_url":"https://github.com/stefanfoulis","followers_url":"https://api.github.com/users/stefanfoulis/followers","following_url":"https://api.github.com/users/stefanfoulis/following{/other_user}","gists_url":"https://api.github.com/users/stefanfoulis/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanfoulis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanfoulis/subscriptions","organizations_url":"https://api.github.com/users/stefanfoulis/orgs","repos_url":"https://api.github.com/users/stefanfoulis/repos","events_url":"https://api.github.com/users/stefanfoulis/events{/privacy}","received_events_url":"https://api.github.com/users/stefanfoulis/received_events","type":"User","site_admin":false},"repo":{"id":286516,"name":"django-filer","full_name":"stefanfoulis/django-filer","owner":{"login":"stefanfoulis","id":14330,"avatar_url":"https://avatars.githubusercontent.com/u/14330?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanfoulis","html_url":"https://github.com/stefanfoulis","followers_url":"https://api.github.com/users/stefanfoulis/followers","following_url":"https://api.github.com/users/stefanfoulis/following{/other_user}","gists_url":"https://api.github.com/users/stefanfoulis/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanfoulis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanfoulis/subscriptions","organizations_url":"https://api.github.com/users/stefanfoulis/orgs","repos_url":"https://api.github.com/users/stefanfoulis/repos","events_url":"https://api.github.com/users/stefanfoulis/events{/privacy}","received_events_url":"https://api.github.com/users/stefanfoulis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stefanfoulis/django-filer","description":"File and Image Management Application for django","fork":false,"url":"https://api.github.com/repos/stefanfoulis/django-filer","forks_url":"https://api.github.com/repos/stefanfoulis/django-filer/forks","keys_url":"https://api.github.com/repos/stefanfoulis/django-filer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stefanfoulis/django-filer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stefanfoulis/django-filer/teams","hooks_url":"https://api.github.com/repos/stefanfoulis/django-filer/hooks","issue_events_url":"https://api.github.com/repos/stefanfoulis/django-filer/issues/events{/number}","events_url":"https://api.github.com/repos/stefanfoulis/django-filer/events","assignees_url":"https://api.github.com/repos/stefanfoulis/django-filer/assignees{/user}","branches_url":"https://api.github.com/repos/stefanfoulis/django-filer/branches{/branch}","tags_url":"https://api.github.com/repos/stefanfoulis/django-filer/tags","blobs_url":"https://api.github.com/repos/stefanfoulis/django-filer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stefanfoulis/django-filer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stefanfoulis/django-filer/git/refs{/sha}","trees_url":"https://api.github.com/repos/stefanfoulis/django-filer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stefanfoulis/django-filer/statuses/{sha}","languages_url":"https://api.github.com/repos/stefanfoulis/django-filer/languages","stargazers_url":"https://api.github.com/repos/stefanfoulis/django-filer/stargazers","contributors_url":"https://api.github.com/repos/stefanfoulis/django-filer/contributors","subscribers_url":"https://api.github.com/repos/stefanfoulis/django-filer/subscribers","subscription_url":"https://api.github.com/repos/stefanfoulis/django-filer/subscription","commits_url":"https://api.github.com/repos/stefanfoulis/django-filer/commits{/sha}","git_commits_url":"https://api.github.com/repos/stefanfoulis/django-filer/git/commits{/sha}","comments_url":"https://api.github.com/repos/stefanfoulis/django-filer/comments{/number}","issue_comment_url":"https://api.github.com/repos/stefanfoulis/django-filer/issues/comments{/number}","contents_url":"https://api.github.com/repos/stefanfoulis/django-filer/contents/{+path}","compare_url":"https://api.github.com/repos/stefanfoulis/django-filer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stefanfoulis/django-filer/merges","archive_url":"https://api.github.com/repos/stefanfoulis/django-filer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stefanfoulis/django-filer/downloads","issues_url":"https://api.github.com/repos/stefanfoulis/django-filer/issues{/number}","pulls_url":"https://api.github.com/repos/stefanfoulis/django-filer/pulls{/number}","milestones_url":"https://api.github.com/repos/stefanfoulis/django-filer/milestones{/number}","notifications_url":"https://api.github.com/repos/stefanfoulis/django-filer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stefanfoulis/django-filer/labels{/name}","releases_url":"https://api.github.com/repos/stefanfoulis/django-filer/releases{/id}","created_at":"2009-08-24T13:49:42Z","updated_at":"2015-03-11T09:16:12Z","pushed_at":"2015-03-11T09:16:11Z","git_url":"git://github.com/stefanfoulis/django-filer.git","ssh_url":"git@github.com:stefanfoulis/django-filer.git","clone_url":"https://github.com/stefanfoulis/django-filer.git","svn_url":"https://github.com/stefanfoulis/django-filer","homepage":"https://github.com/stefanfoulis/django-filer/wiki","size":6615,"stargazers_count":488,"watchers_count":488,"language":"Gettext Catalog","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":205,"mirror_url":null,"open_issues_count":106,"forks":205,"open_issues":106,"watchers":488,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/stefanfoulis/django-filer/pulls/501"},"html":{"href":"https://github.com/stefanfoulis/django-filer/pull/501"},"issue":{"href":"https://api.github.com/repos/stefanfoulis/django-filer/issues/501"},"comments":{"href":"https://api.github.com/repos/stefanfoulis/django-filer/issues/501/comments"},"review_comments":{"href":"https://api.github.com/repos/stefanfoulis/django-filer/pulls/501/comments"},"review_comment":{"href":"https://api.github.com/repos/stefanfoulis/django-filer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stefanfoulis/django-filer/pulls/501/commits"},"statuses":{"href":"https://api.github.com/repos/stefanfoulis/django-filer/statuses/dbc794e190d5692c60af04c678211facb866b50c"}}}}