{"action":"created","issue":{"url":"https://api.github.com/repos/stefanfoulis/django-filer/issues/463","labels_url":"https://api.github.com/repos/stefanfoulis/django-filer/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/stefanfoulis/django-filer/issues/463/comments","events_url":"https://api.github.com/repos/stefanfoulis/django-filer/issues/463/events","html_url":"https://github.com/stefanfoulis/django-filer/pull/463","id":48780520,"number":463,"title":"generic JS usable when a row is duplicated when file is a part of a ManyToMany","user":{"login":"DylannCordel","id":4538884,"avatar_url":"https://avatars.githubusercontent.com/u/4538884?v=3","gravatar_id":"","url":"https://api.github.com/users/DylannCordel","html_url":"https://github.com/DylannCordel","followers_url":"https://api.github.com/users/DylannCordel/followers","following_url":"https://api.github.com/users/DylannCordel/following{/other_user}","gists_url":"https://api.github.com/users/DylannCordel/gists{/gist_id}","starred_url":"https://api.github.com/users/DylannCordel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DylannCordel/subscriptions","organizations_url":"https://api.github.com/users/DylannCordel/orgs","repos_url":"https://api.github.com/users/DylannCordel/repos","events_url":"https://api.github.com/users/DylannCordel/events{/privacy}","received_events_url":"https://api.github.com/users/DylannCordel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-14T12:11:51Z","updated_at":"2015-01-10T09:33:00Z","closed_at":"2015-01-10T09:32:49Z","pull_request":{"url":"https://api.github.com/repos/stefanfoulis/django-filer/pulls/463","html_url":"https://github.com/stefanfoulis/django-filer/pull/463","diff_url":"https://github.com/stefanfoulis/django-filer/pull/463.diff","patch_url":"https://github.com/stefanfoulis/django-filer/pull/463.patch"},"body":"How to reproduce :\r\n\r\nUse a FilerField in a ManyToMany, and use admin's inline to manage it in the admin form.\r\nWhen \"add new row\" is clicked, the \"clear\" image is displayed and not functionnal.\r\n\r\nThis is because the old javascript is for the current ID, so new lines, with != IDs, couldn't work. This bug fix use classes and the jQuery(document).on function to watch event on newly created lines."},"comment":{"url":"https://api.github.com/repos/stefanfoulis/django-filer/issues/comments/69449853","html_url":"https://github.com/stefanfoulis/django-filer/pull/463#issuecomment-69449853","issue_url":"https://api.github.com/repos/stefanfoulis/django-filer/issues/463","id":69449853,"user":{"login":"yakky","id":714711,"avatar_url":"https://avatars.githubusercontent.com/u/714711?v=3","gravatar_id":"","url":"https://api.github.com/users/yakky","html_url":"https://github.com/yakky","followers_url":"https://api.github.com/users/yakky/followers","following_url":"https://api.github.com/users/yakky/following{/other_user}","gists_url":"https://api.github.com/users/yakky/gists{/gist_id}","starred_url":"https://api.github.com/users/yakky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakky/subscriptions","organizations_url":"https://api.github.com/users/yakky/orgs","repos_url":"https://api.github.com/users/yakky/repos","events_url":"https://api.github.com/users/yakky/events{/privacy}","received_events_url":"https://api.github.com/users/yakky/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T09:33:00Z","updated_at":"2015-01-10T09:33:00Z","body":"Thanks @DylannCordel "}}