{"action":"created","issue":{"url":"https://api.github.com/repos/vojtech-dobes/history.nette.ajax.js/issues/23","labels_url":"https://api.github.com/repos/vojtech-dobes/history.nette.ajax.js/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/vojtech-dobes/history.nette.ajax.js/issues/23/comments","events_url":"https://api.github.com/repos/vojtech-dobes/history.nette.ajax.js/issues/23/events","html_url":"https://github.com/vojtech-dobes/history.nette.ajax.js/issues/23","id":53753846,"number":23,"title":"Don't trigger history.ajax.js on signals and forms","user":{"login":"medhi","id":522848,"avatar_url":"https://avatars.githubusercontent.com/u/522848?v=3","gravatar_id":"","url":"https://api.github.com/users/medhi","html_url":"https://github.com/medhi","followers_url":"https://api.github.com/users/medhi/followers","following_url":"https://api.github.com/users/medhi/following{/other_user}","gists_url":"https://api.github.com/users/medhi/gists{/gist_id}","starred_url":"https://api.github.com/users/medhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medhi/subscriptions","organizations_url":"https://api.github.com/users/medhi/orgs","repos_url":"https://api.github.com/users/medhi/repos","events_url":"https://api.github.com/users/medhi/events{/privacy}","received_events_url":"https://api.github.com/users/medhi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-08T14:09:01Z","updated_at":"2015-01-18T01:00:20Z","closed_at":null,"body":"history.ajax.js should trigger only on links pointing to different pages. So not signals or forms."},"comment":{"url":"https://api.github.com/repos/vojtech-dobes/history.nette.ajax.js/issues/comments/70391836","html_url":"https://github.com/vojtech-dobes/history.nette.ajax.js/issues/23#issuecomment-70391836","issue_url":"https://api.github.com/repos/vojtech-dobes/history.nette.ajax.js/issues/23","id":70391836,"user":{"login":"medhi","id":522848,"avatar_url":"https://avatars.githubusercontent.com/u/522848?v=3","gravatar_id":"","url":"https://api.github.com/users/medhi","html_url":"https://github.com/medhi","followers_url":"https://api.github.com/users/medhi/followers","following_url":"https://api.github.com/users/medhi/following{/other_user}","gists_url":"https://api.github.com/users/medhi/gists{/gist_id}","starred_url":"https://api.github.com/users/medhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medhi/subscriptions","organizations_url":"https://api.github.com/users/medhi/orgs","repos_url":"https://api.github.com/users/medhi/repos","events_url":"https://api.github.com/users/medhi/events{/privacy}","received_events_url":"https://api.github.com/users/medhi/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T01:00:20Z","updated_at":"2015-01-18T01:00:20Z","body":"Thinking about it, the question is maybe little different:\r\n\r\nAm I right, that this code should be triggered just on history request, not common ajax requests?\r\n```\r\nif ($this->isAjax()) {\r\n    $this->invalidateControl('title');\r\n    $this->invalidateControl('content');\r\n}\r\n```\r\nHow one can achieve this?"}}