{"action":"created","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/232","labels_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/232/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/232/events","html_url":"https://github.com/kartik-v/yii2-grid/issues/232","id":58541327,"number":232,"title":"ActionColumn Button URL Being Called Twice","user":{"login":"chodges","id":197811,"avatar_url":"https://avatars.githubusercontent.com/u/197811?v=3","gravatar_id":"","url":"https://api.github.com/users/chodges","html_url":"https://github.com/chodges","followers_url":"https://api.github.com/users/chodges/followers","following_url":"https://api.github.com/users/chodges/following{/other_user}","gists_url":"https://api.github.com/users/chodges/gists{/gist_id}","starred_url":"https://api.github.com/users/chodges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chodges/subscriptions","organizations_url":"https://api.github.com/users/chodges/orgs","repos_url":"https://api.github.com/users/chodges/repos","events_url":"https://api.github.com/users/chodges/events{/privacy}","received_events_url":"https://api.github.com/users/chodges/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-23T04:29:57Z","updated_at":"2015-02-23T04:54:40Z","closed_at":"2015-02-23T04:54:40Z","body":"I'm having a problem with the custom ActionColumn.  For some reason when I click on the URL the resulting controller action is being called TWICE.  But its not consistent but more times than not it is being called twice.  Can anyone give me any insight as to why this might be happening?\r\n\r\nThanks!\r\n\r\n```\r\n[\r\n\t'class' \t=> 'kartik\\grid\\ActionColumn',\r\n\t'template'\t=> '{complete}',\t\r\n\t'header'\t=> 'Complete',\r\n\t'buttons'=>[\r\n      'complete' => function ($url, $model){\t\t\t\t\t\t\t\t  \t\t\t\t\t\t\t \t\t\t\t\t\t\t  \t\t  \t\t\t\t\t\t\t  \r\n\t\t  if($model['done_status'] == 1){\r\n              return Html::a('<span class=\"glyphicon glyphicon-check\"></span>', $url, [\r\n                      'title' => Yii::t('yii', 'Completed'),'class' => 'completed_url'\r\n              ]);\t\t\t\t\t\t\t  \t\r\n\t\t  }else{\r\n              return Html::a('<span class=\"glyphicon glyphicon-unchecked\"></span>', $url, [\r\n                      'title' => Yii::t('yii', 'Completed'),'class' => 'completed_url'\r\n              ]);\r\n\t\t\t \r\n\t\t  }\r\n      }],\t\t\t\r\n],\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/comments/75489544","html_url":"https://github.com/kartik-v/yii2-grid/issues/232#issuecomment-75489544","issue_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/232","id":75489544,"user":{"login":"chodges","id":197811,"avatar_url":"https://avatars.githubusercontent.com/u/197811?v=3","gravatar_id":"","url":"https://api.github.com/users/chodges","html_url":"https://github.com/chodges","followers_url":"https://api.github.com/users/chodges/followers","following_url":"https://api.github.com/users/chodges/following{/other_user}","gists_url":"https://api.github.com/users/chodges/gists{/gist_id}","starred_url":"https://api.github.com/users/chodges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chodges/subscriptions","organizations_url":"https://api.github.com/users/chodges/orgs","repos_url":"https://api.github.com/users/chodges/repos","events_url":"https://api.github.com/users/chodges/events{/privacy}","received_events_url":"https://api.github.com/users/chodges/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T04:54:40Z","updated_at":"2015-02-23T04:54:40Z","body":"That worked PERFECTLY!\r\n\r\nThanks!"}}