{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/11849","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11849/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11849/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11849/events","html_url":"https://github.com/joomla/joomla-cms/pull/11849","id":174057287,"number":11849,"title":"[com_menus] Add keepalive behaviour when edit/create a menu item","user":{"login":"andrepereiradasilva","id":9630530,"avatar_url":"https://avatars.githubusercontent.com/u/9630530?v=3","gravatar_id":"","url":"https://api.github.com/users/andrepereiradasilva","html_url":"https://github.com/andrepereiradasilva","followers_url":"https://api.github.com/users/andrepereiradasilva/followers","following_url":"https://api.github.com/users/andrepereiradasilva/following{/other_user}","gists_url":"https://api.github.com/users/andrepereiradasilva/gists{/gist_id}","starred_url":"https://api.github.com/users/andrepereiradasilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrepereiradasilva/subscriptions","organizations_url":"https://api.github.com/users/andrepereiradasilva/orgs","repos_url":"https://api.github.com/users/andrepereiradasilva/repos","events_url":"https://api.github.com/users/andrepereiradasilva/events{/privacy}","received_events_url":"https://api.github.com/users/andrepereiradasilva/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-30T15:54:26Z","updated_at":"2016-09-06T08:40:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/11849","html_url":"https://github.com/joomla/joomla-cms/pull/11849","diff_url":"https://github.com/joomla/joomla-cms/pull/11849.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/11849.patch"},"body":"Pull Request for Improvement.\r\n\r\n### Summary of Changes\r\n\r\nAdd keepalive behaviour when edit/create a menu item to preserve the session when creating/editing a menu item.\r\n\r\n### Testing Instructions\r\n\r\nSimple change for me only code review is needed, but for test:\r\n- Before applying patch create/edit a menu item, view html source (Ctrl + U) and check that this code (or similiar) is not there. Hint: search (Ctrl + F) for `com_ajax`\r\n```js\r\nwindow.setInterval(function(){var r;try{r=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject(\"Microsoft.XMLHTTP\")}catch(e){}if(r){r.open(\"GET\",\"/administrator/index.php?option=com_ajax&format=json\",true);r.send(null)}},840000);\r\n```\r\n- Now apply the patch\r\n- Repeat step 1 and check the code is there.\r\n\r\n### Documentation Changes Required\r\n\r\nNone.\r\n"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/244886747","html_url":"https://github.com/joomla/joomla-cms/pull/11849#issuecomment-244886747","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11849","id":244886747,"user":{"login":"brianteeman","id":1296369,"avatar_url":"https://avatars.githubusercontent.com/u/1296369?v=3","gravatar_id":"","url":"https://api.github.com/users/brianteeman","html_url":"https://github.com/brianteeman","followers_url":"https://api.github.com/users/brianteeman/followers","following_url":"https://api.github.com/users/brianteeman/following{/other_user}","gists_url":"https://api.github.com/users/brianteeman/gists{/gist_id}","starred_url":"https://api.github.com/users/brianteeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianteeman/subscriptions","organizations_url":"https://api.github.com/users/brianteeman/orgs","repos_url":"https://api.github.com/users/brianteeman/repos","events_url":"https://api.github.com/users/brianteeman/events{/privacy}","received_events_url":"https://api.github.com/users/brianteeman/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T08:40:41Z","updated_at":"2016-09-06T08:40:41Z","body":"RTC<hr /><sub>This comment was created with the <a href=\"https://github.com/joomla/jissues\">J!Tracker Application</a> at <a href=\"https://issues.joomla.org/tracker/joomla-cms/11849\">issues.joomla.org/joomla-cms/11849</a>.</sub>"}}
{"actor":{"display_login":"brianteeman"}}