{"action":"created","issue":{"url":"https://api.github.com/repos/osclass/Osclass/issues/1864","repository_url":"https://api.github.com/repos/osclass/Osclass","labels_url":"https://api.github.com/repos/osclass/Osclass/issues/1864/labels{/name}","comments_url":"https://api.github.com/repos/osclass/Osclass/issues/1864/comments","events_url":"https://api.github.com/repos/osclass/Osclass/issues/1864/events","html_url":"https://github.com/osclass/Osclass/pull/1864","id":68392779,"number":1864,"title":"Remove clear session variable for ajax calls","user":{"login":"groomain","id":3601848,"avatar_url":"https://avatars.githubusercontent.com/u/3601848?v=3","gravatar_id":"","url":"https://api.github.com/users/groomain","html_url":"https://github.com/groomain","followers_url":"https://api.github.com/users/groomain/followers","following_url":"https://api.github.com/users/groomain/following{/other_user}","gists_url":"https://api.github.com/users/groomain/gists{/gist_id}","starred_url":"https://api.github.com/users/groomain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groomain/subscriptions","organizations_url":"https://api.github.com/users/groomain/orgs","repos_url":"https://api.github.com/users/groomain/repos","events_url":"https://api.github.com/users/groomain/events{/privacy}","received_events_url":"https://api.github.com/users/groomain/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-04-14T14:29:26Z","updated_at":"2016-11-28T12:26:36Z","closed_at":"2016-11-28T12:26:36Z","pull_request":{"url":"https://api.github.com/repos/osclass/Osclass/pulls/1864","html_url":"https://github.com/osclass/Osclass/pull/1864","diff_url":"https://github.com/osclass/Osclass/pull/1864.diff","patch_url":"https://github.com/osclass/Osclass/pull/1864.patch"},"body":"Hi,\n\nMaybe there is another way but clearing session variable for ajax calls broke some functionalities.\n\nFor exemple, with Madhouse messenger, we are using an ajax call to display number of unread messages. When we are on item post page this ajax call remove variable in session so if the form have some error, we can't use keepform variables because they have been dropped by this ajax call.\n\nSame case in the search page. If we use ajax call in this page alerts doesn't work anymore because 'alert_signature' is dropped by the ajax call. \n\nRegards\n"},"comment":{"url":"https://api.github.com/repos/osclass/Osclass/issues/comments/263258802","html_url":"https://github.com/osclass/Osclass/pull/1864#issuecomment-263258802","issue_url":"https://api.github.com/repos/osclass/Osclass/issues/1864","id":263258802,"user":{"login":"conejoninja","id":475423,"avatar_url":"https://avatars.githubusercontent.com/u/475423?v=3","gravatar_id":"","url":"https://api.github.com/users/conejoninja","html_url":"https://github.com/conejoninja","followers_url":"https://api.github.com/users/conejoninja/followers","following_url":"https://api.github.com/users/conejoninja/following{/other_user}","gists_url":"https://api.github.com/users/conejoninja/gists{/gist_id}","starred_url":"https://api.github.com/users/conejoninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conejoninja/subscriptions","organizations_url":"https://api.github.com/users/conejoninja/orgs","repos_url":"https://api.github.com/users/conejoninja/repos","events_url":"https://api.github.com/users/conejoninja/events{/privacy}","received_events_url":"https://api.github.com/users/conejoninja/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T12:26:36Z","updated_at":"2016-11-28T12:26:36Z","body":"Not sure why they were added\r\nI did not see any error while removing them, but probably needs more testing."}}
{"actor":{"display_login":"conejoninja"}}