{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/8374","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/8374/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/8374/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/8374/events","html_url":"https://github.com/yiisoft/yii2/issues/8374","id":75631289,"number":8374,"title":"pjax: one container - two different actions","user":{"login":"szewciu","id":2108913,"avatar_url":"https://avatars.githubusercontent.com/u/2108913?v=3","gravatar_id":"","url":"https://api.github.com/users/szewciu","html_url":"https://github.com/szewciu","followers_url":"https://api.github.com/users/szewciu/followers","following_url":"https://api.github.com/users/szewciu/following{/other_user}","gists_url":"https://api.github.com/users/szewciu/gists{/gist_id}","starred_url":"https://api.github.com/users/szewciu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szewciu/subscriptions","organizations_url":"https://api.github.com/users/szewciu/orgs","repos_url":"https://api.github.com/users/szewciu/repos","events_url":"https://api.github.com/users/szewciu/events{/privacy}","received_events_url":"https://api.github.com/users/szewciu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-12T14:57:07Z","updated_at":"2015-05-13T13:17:14Z","closed_at":"2015-05-13T13:17:14Z","body":"I have following issue: I need to use exactly one pjax container for two different actions.\r\n\r\nTo be exact, one of them is used for reloading gridview after form submitted. The second one is required to fill in form with data of model user'd like to edit. Even though in the first case script works correctly, the second one causes filling in right form and also replaces gridview to form.\r\n\r\nAny suggestions how to solve this problem?"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/101660166","html_url":"https://github.com/yiisoft/yii2/issues/8374#issuecomment-101660166","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/8374","id":101660166,"user":{"login":"klimov-paul","id":1482054,"avatar_url":"https://avatars.githubusercontent.com/u/1482054?v=3","gravatar_id":"","url":"https://api.github.com/users/klimov-paul","html_url":"https://github.com/klimov-paul","followers_url":"https://api.github.com/users/klimov-paul/followers","following_url":"https://api.github.com/users/klimov-paul/following{/other_user}","gists_url":"https://api.github.com/users/klimov-paul/gists{/gist_id}","starred_url":"https://api.github.com/users/klimov-paul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klimov-paul/subscriptions","organizations_url":"https://api.github.com/users/klimov-paul/orgs","repos_url":"https://api.github.com/users/klimov-paul/repos","events_url":"https://api.github.com/users/klimov-paul/events{/privacy}","received_events_url":"https://api.github.com/users/klimov-paul/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T13:17:14Z","updated_at":"2015-05-13T13:17:14Z","body":"Either both your actions should render the full HTML, containing both form and grid, or you should use different containers."}}