{"action":"reopened","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/96","repository_url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker","labels_url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/96/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/96/events","html_url":"https://github.com/kartik-v/yii2-widget-datepicker/issues/96","id":162876507,"number":96,"title":"Uncaught TypeError: Cannot read property 'dates' of undefined.","user":{"login":"jeroenk22","id":3177682,"avatar_url":"https://avatars.githubusercontent.com/u/3177682?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenk22","html_url":"https://github.com/jeroenk22","followers_url":"https://api.github.com/users/jeroenk22/followers","following_url":"https://api.github.com/users/jeroenk22/following{/other_user}","gists_url":"https://api.github.com/users/jeroenk22/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenk22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenk22/subscriptions","organizations_url":"https://api.github.com/users/jeroenk22/orgs","repos_url":"https://api.github.com/users/jeroenk22/repos","events_url":"https://api.github.com/users/jeroenk22/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenk22/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-29T09:10:53Z","updated_at":"2016-06-29T16:37:12Z","closed_at":null,"body":"Hello Kartik,\r\n\r\nSince your last update of Datepicker (v1.4.0) I receive the following JS error:\r\n\r\n`Uncaught TypeError: Cannot read property 'dates' of undefined.`\r\n\r\nI'm using Dutch language.\r\n\r\nMy code:\r\n```\r\n\r\n        <?= DatePicker::widget([\r\n        'name' => 'nieuweDatum',\r\n        'type' => DatePicker::TYPE_BUTTON,\r\n        'language' => 'nl',\r\n        'pluginOptions' => [\r\n            'todayHighlight' => true,\r\n            'autoclose' => true,\r\n            'format' => 'yyyy-mm-dd',\r\n            'calendarWeeks' => true,\r\n            'todayBtn' => true,\r\n        ],                   \r\n            'pluginEvents' => [\r\n                \"changeDate\" => \"function(e) { $.get(datum, {datum: $(this).find('input').val()} ); $.pjax.reload({container: '#planner_grid', timeout: 10000}); }\",  \r\n            ]\r\n        ]);?>\r\n\r\n```\r\n"}}
{"actor":{"display_login":"kartik-v"}}