{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/11267","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/11267/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/11267/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/11267/events","html_url":"https://github.com/yiisoft/yii2/issues/11267","id":145657381,"number":11267,"title":"Unexpected bihaviour of $this->renderAjax(...)","user":{"login":"tolik505","id":12429244,"avatar_url":"https://avatars.githubusercontent.com/u/12429244?v=3","gravatar_id":"","url":"https://api.github.com/users/tolik505","html_url":"https://github.com/tolik505","followers_url":"https://api.github.com/users/tolik505/followers","following_url":"https://api.github.com/users/tolik505/following{/other_user}","gists_url":"https://api.github.com/users/tolik505/gists{/gist_id}","starred_url":"https://api.github.com/users/tolik505/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tolik505/subscriptions","organizations_url":"https://api.github.com/users/tolik505/orgs","repos_url":"https://api.github.com/users/tolik505/repos","events_url":"https://api.github.com/users/tolik505/events{/privacy}","received_events_url":"https://api.github.com/users/tolik505/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/severity:important","name":"severity:important","color":"eb6420"},{"url":"https://api.github.com/repos/yiisoft/yii2/labels/status:need%20more%20info","name":"status:need more info","color":"d4c5f9"}],"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},"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/9","html_url":"https://github.com/yiisoft/yii2/milestones/2.0.x","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/9/labels","id":831720,"number":9,"title":"2.0.x","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":406,"closed_issues":2,"state":"open","created_at":"2014-10-19T13:49:45Z","updated_at":"2016-04-25T21:22:45Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-04-04T11:30:12Z","updated_at":"2016-04-25T21:23:26Z","closed_at":null,"body":"### renderAjax doesn't returns css and config of js plagins. \r\nIt replaces them with <![CDATA[YII-BLOCK-HEAD]]><![CDATA[YII-BLOCK-BODY-BEGIN]]> \r\n\r\n### Before some latest commits, renderAjax returned css and config of plugins\r\n\r\n```\r\n<link href=\"/assets/c3132b9a/css/select2.css?v=1456864258\" rel=\"stylesheet\">\r\n<link href=\"/assets/c3132b9a/css/select2-addl.css?v=1456864258\" rel=\"stylesheet\">\r\n<link href=\"/assets/c3132b9a/css/select2-krajee.css?v=1456864258\" rel=\"stylesheet\">\r\nvar s2options_c4acac00 = {\"themeCss\":\".select2-container--krajee\",\"sizeCss\":\"\",\"doReset\":true,\"doToggle\":true,\"doOrder\":false};\r\nvar select2_ae6b82b7 = {\"theme\":\"krajee\",\"width\":\"100%\",\"placeholder\":\"Select states ...\",\"language\":\"en\"};\r\n</script>\r\n<input type=\"hidden\" name=\"_csrf\" value=\"T25reXR5NFYhAxtAFyZZbmIcJw1GAGQPdxckTRsuRhkhBBIMHg5NMQ==\">    \r\n<div class=\"form-group content-append filled item-0 tr\"><!-- widgetBody -->\r\n        <button type=\"button\" class=\"btn btn-info btn-template-mover ui-sortable-handle\"><i class=\"glyphicon glyphicon-move\"></i></button>\r\n        <button type=\"button\" class=\"btn btn-danger btn-template-delete\"><i class=\"glyphicon glyphicon-trash\"></i></button>\r\n....\r\n```\r\n\r\n### Now it doesn't returns expected data\r\n```\r\n<![CDATA[YII-BLOCK-HEAD]]><![CDATA[YII-BLOCK-BODY-BEGIN]]>    \r\n<div class=\"form-group content-append filled item-0\"><!-- widgetBody -->\r\n        <button type=\"button\" class=\"btn btn-info btn-template-mover ui-sortable-handle\"><i class=\"glyphicon glyphicon-move\"></i></button>\r\n        <button type=\"button\" class=\"btn btn-danger btn-template-delete\"><i class=\"glyphicon glyphicon-trash\"></i></button>\r\n...\r\n```\r\n\r\n### Additional info\r\n\r\n| Q                | A\r\n| ---------------- | ---\r\n| Yii version      | 2.0.8\r\n| PHP version      | 7\r\n| Operating system | ubuntu 14.04"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/214527587","html_url":"https://github.com/yiisoft/yii2/issues/11267#issuecomment-214527587","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/11267","id":214527587,"user":{"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},"created_at":"2016-04-25T21:23:26Z","updated_at":"2016-04-25T21:23:26Z","body":"Removed from 2.0.8 milestone because nobody have neither reproduced this nor reported similar issue."}}