{"action":"opened","issue":{"url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/40","repository_url":"https://api.github.com/repos/yiisoft/jquery-pjax","labels_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/40/comments","events_url":"https://api.github.com/repos/yiisoft/jquery-pjax/issues/40/events","html_url":"https://github.com/yiisoft/jquery-pjax/issues/40","id":137058871,"number":40,"title":"Timeout property has no effect","user":{"login":"matperez","id":1917115,"avatar_url":"https://avatars.githubusercontent.com/u/1917115?v=3","gravatar_id":"","url":"https://api.github.com/users/matperez","html_url":"https://github.com/matperez","followers_url":"https://api.github.com/users/matperez/followers","following_url":"https://api.github.com/users/matperez/following{/other_user}","gists_url":"https://api.github.com/users/matperez/gists{/gist_id}","starred_url":"https://api.github.com/users/matperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matperez/subscriptions","organizations_url":"https://api.github.com/users/matperez/orgs","repos_url":"https://api.github.com/users/matperez/repos","events_url":"https://api.github.com/users/matperez/events{/privacy}","received_events_url":"https://api.github.com/users/matperez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-28T14:35:26Z","updated_at":"2016-02-28T14:35:26Z","closed_at":null,"body":"Hello! \r\n\r\nI noticed that the timeout option has no effect on the behavior of the widget\r\n\r\n```\r\n            \"name\": \"bower-asset/yii2-pjax\",\r\n            \"version\": \"v2.0.5\",\r\n            \"source\": {\r\n                \"type\": \"git\",\r\n                \"url\": \"https://github.com/yiisoft/jquery-pjax.git\",\r\n                \"reference\": \"6818718408086db6bdcf33649cecb86b6b4f9b67\"\r\n            },\r\n\r\n```\r\n\r\nI'm using it this way\r\n\r\n```\r\n    <?php \\yii\\widgets\\Pjax::begin([\r\n        'id' => 'widget',\r\n        'timeout' => 3000,\r\n    ]) ?>\r\n\r\n```\r\n\r\nIt looks fine in the page source code \r\n\r\n```\r\n    jQuery(document).pjax(\"#widget a\", \"#widget\", {\"timeout\":3000,\"push\":true,\"replace\":false,\"scrollTo\":false});\r\n\r\n```\r\n\r\nBut the option has no effect unless I set it globally via $.pjax.defaults.timeout = 3000;\r\n\r\nCould it be an issue?"}}