{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/12934","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/12934/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/12934/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/12934/events","html_url":"https://github.com/yiisoft/yii2/issues/12934","id":187732125,"number":12934,"title":"Pjax stopped binds to the dynamically loaded content after upgrade.","user":{"login":"Shybko","id":8832640,"avatar_url":"https://avatars.githubusercontent.com/u/8832640?v=3","gravatar_id":"","url":"https://api.github.com/users/Shybko","html_url":"https://github.com/Shybko","followers_url":"https://api.github.com/users/Shybko/followers","following_url":"https://api.github.com/users/Shybko/following{/other_user}","gists_url":"https://api.github.com/users/Shybko/gists{/gist_id}","starred_url":"https://api.github.com/users/Shybko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shybko/subscriptions","organizations_url":"https://api.github.com/users/Shybko/orgs","repos_url":"https://api.github.com/users/Shybko/repos","events_url":"https://api.github.com/users/Shybko/events{/privacy}","received_events_url":"https://api.github.com/users/Shybko/received_events","type":"User","site_admin":false},"labels":[{"id":225521613,"url":"https://api.github.com/repos/yiisoft/yii2/labels/feature:pjax","name":"feature:pjax","color":"c7def8","default":false},{"id":38412944,"url":"https://api.github.com/repos/yiisoft/yii2/labels/status:to%20be%20verified","name":"status:to be verified","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"SilverFire","id":4499203,"avatar_url":"https://avatars.githubusercontent.com/u/4499203?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverFire","html_url":"https://github.com/SilverFire","followers_url":"https://api.github.com/users/SilverFire/followers","following_url":"https://api.github.com/users/SilverFire/following{/other_user}","gists_url":"https://api.github.com/users/SilverFire/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverFire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverFire/subscriptions","organizations_url":"https://api.github.com/users/SilverFire/orgs","repos_url":"https://api.github.com/users/SilverFire/repos","events_url":"https://api.github.com/users/SilverFire/events{/privacy}","received_events_url":"https://api.github.com/users/SilverFire/received_events","type":"User","site_admin":false},"assignees":[{"login":"SilverFire","id":4499203,"avatar_url":"https://avatars.githubusercontent.com/u/4499203?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverFire","html_url":"https://github.com/SilverFire","followers_url":"https://api.github.com/users/SilverFire/followers","following_url":"https://api.github.com/users/SilverFire/following{/other_user}","gists_url":"https://api.github.com/users/SilverFire/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverFire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverFire/subscriptions","organizations_url":"https://api.github.com/users/SilverFire/orgs","repos_url":"https://api.github.com/users/SilverFire/repos","events_url":"https://api.github.com/users/SilverFire/events{/privacy}","received_events_url":"https://api.github.com/users/SilverFire/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/20","html_url":"https://github.com/yiisoft/yii2/milestones/2.0.11","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/20/labels","id":1736699,"number":20,"title":"2.0.11","description":"","creator":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":122,"closed_issues":55,"state":"open","created_at":"2016-04-28T15:04:50Z","updated_at":"2016-11-09T09:05:06Z","due_on":"2016-12-18T00:00:00Z","closed_at":null},"comments":4,"created_at":"2016-11-07T14:55:09Z","updated_at":"2016-11-09T11:21:53Z","closed_at":null,"body":"### What steps will reproduce the problem?\r\nPagination within ListView is not working after ajax loaded ListView.\r\n\r\n### What is the expected result?\r\nPagination must work after ListView loaded via ajax.\r\n\r\nIn Yii 2.0.9 within the file `yii\\widgets\\Pjax.php` was the sting\r\n`$js .= \"jQuery(document).pjax($linkSelector, \\\"#$id\\\", $options);\";`\r\nthat binded pjax even to the dynamically loaded content.\r\nNow in version 2.0.10 that string looks like \r\n`$js .= \"jQuery(document).pjax($linkSelector, $options);\";`\r\nAnd bacause of this the pagination is not working, after ajax loaded ListView."},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/259391859","html_url":"https://github.com/yiisoft/yii2/issues/12934#issuecomment-259391859","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/12934","id":259391859,"user":{"login":"dynasource","id":125726,"avatar_url":"https://avatars.githubusercontent.com/u/125726?v=3","gravatar_id":"","url":"https://api.github.com/users/dynasource","html_url":"https://github.com/dynasource","followers_url":"https://api.github.com/users/dynasource/followers","following_url":"https://api.github.com/users/dynasource/following{/other_user}","gists_url":"https://api.github.com/users/dynasource/gists{/gist_id}","starred_url":"https://api.github.com/users/dynasource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dynasource/subscriptions","organizations_url":"https://api.github.com/users/dynasource/orgs","repos_url":"https://api.github.com/users/dynasource/repos","events_url":"https://api.github.com/users/dynasource/events{/privacy}","received_events_url":"https://api.github.com/users/dynasource/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T11:21:53Z","updated_at":"2016-11-09T11:21:53Z","body":"if I look at the Pjax API https://github.com/defunkt/jquery-pjax#fnpjax:\r\n```js\r\n$(document).pjax('a', '#pjax-container')\r\n```\r\n@Shybko is right. Then https://github.com/yiisoft/yii2/pull/11347 has been a faulty commit.\r\n\r\n"}}
{"actor":{"display_login":"dynasource"}}