{"action":"opened","issue":{"url":"https://api.github.com/repos/yiisoft/yii/issues/3789","labels_url":"https://api.github.com/repos/yiisoft/yii/issues/3789/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii/issues/3789/comments","events_url":"https://api.github.com/repos/yiisoft/yii/issues/3789/events","html_url":"https://github.com/yiisoft/yii/issues/3789","id":60182583,"number":3789,"title":"CButtonColumn","user":{"login":"leo112233","id":11358596,"avatar_url":"https://avatars.githubusercontent.com/u/11358596?v=3","gravatar_id":"","url":"https://api.github.com/users/leo112233","html_url":"https://github.com/leo112233","followers_url":"https://api.github.com/users/leo112233/followers","following_url":"https://api.github.com/users/leo112233/following{/other_user}","gists_url":"https://api.github.com/users/leo112233/gists{/gist_id}","starred_url":"https://api.github.com/users/leo112233/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leo112233/subscriptions","organizations_url":"https://api.github.com/users/leo112233/orgs","repos_url":"https://api.github.com/users/leo112233/repos","events_url":"https://api.github.com/users/leo112233/events{/privacy}","received_events_url":"https://api.github.com/users/leo112233/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-07T01:21:01Z","updated_at":"2015-03-07T01:21:01Z","closed_at":null,"body":"$this->buttons['delete']['click']=<<<EOD\r\nfunction() {\r\n\t$confirmation\r\n\tvar th = this,\r\n\t\tafterDelete = $this->afterDelete;\r\n\tjQuery('#{$this->grid->id}').yiiGridView('update', {\r\n\t\ttype: 'POST',\r\n\t\turl: jQuery(this).attr('href'),$csrf\r\n\t\tsuccess: function(data) {\r\n\t\t\tjQuery('#{$this->grid->id}').yiiGridView('update');\r\n\t\t\tafterDelete(th, true, data);\r\n\t\t},\r\n\t\terror: function(XHR) {\r\n\t\t\treturn afterDelete(th, false, XHR);\r\n\t\t}\r\n\t});\r\n\treturn false;\r\n}\r\nEOD;\r\n\r\n\r\nthe type is POST or GET ? i can't get anything if i use POST."}}