{"action":"created","issue":{"url":"https://api.github.com/repos/jenky/laravel-plupload/issues/1","labels_url":"https://api.github.com/repos/jenky/laravel-plupload/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jenky/laravel-plupload/issues/1/comments","events_url":"https://api.github.com/repos/jenky/laravel-plupload/issues/1/events","html_url":"https://github.com/jenky/laravel-plupload/issues/1","id":88725455,"number":1,"title":"HTML init() function breaks after setting custom params","user":{"login":"Tredde","id":3693754,"avatar_url":"https://avatars.githubusercontent.com/u/3693754?v=3","gravatar_id":"","url":"https://api.github.com/users/Tredde","html_url":"https://github.com/Tredde","followers_url":"https://api.github.com/users/Tredde/followers","following_url":"https://api.github.com/users/Tredde/following{/other_user}","gists_url":"https://api.github.com/users/Tredde/gists{/gist_id}","starred_url":"https://api.github.com/users/Tredde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tredde/subscriptions","organizations_url":"https://api.github.com/users/Tredde/orgs","repos_url":"https://api.github.com/users/Tredde/repos","events_url":"https://api.github.com/users/Tredde/events{/privacy}","received_events_url":"https://api.github.com/users/Tredde/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-16T13:16:25Z","updated_at":"2015-06-17T09:24:12Z","closed_at":"2015-06-17T09:24:12Z","body":"First of all a big thank you for this awesome package.\r\n\r\nWhen playing around with the setting I discovered that when using setCustomParams throught the Plupload::make, the HTML init() function breaks.\r\n\r\nThis is because in the init() function you start with if(!$this->data). And because I used the setCustomParams function $this-data is filled before calling init().\r\n\r\nUpon bypassing the if statement in the init() function, everything works fine again. And the custom param is added to the data.\r\n\r\nMaybe you can update the init() function?\r\n\r\nGreetz Erik"},"comment":{"url":"https://api.github.com/repos/jenky/laravel-plupload/issues/comments/112733186","html_url":"https://github.com/jenky/laravel-plupload/issues/1#issuecomment-112733186","issue_url":"https://api.github.com/repos/jenky/laravel-plupload/issues/1","id":112733186,"user":{"login":"jenky","id":1808758,"avatar_url":"https://avatars.githubusercontent.com/u/1808758?v=3","gravatar_id":"","url":"https://api.github.com/users/jenky","html_url":"https://github.com/jenky","followers_url":"https://api.github.com/users/jenky/followers","following_url":"https://api.github.com/users/jenky/following{/other_user}","gists_url":"https://api.github.com/users/jenky/gists{/gist_id}","starred_url":"https://api.github.com/users/jenky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenky/subscriptions","organizations_url":"https://api.github.com/users/jenky/orgs","repos_url":"https://api.github.com/users/jenky/repos","events_url":"https://api.github.com/users/jenky/events{/privacy}","received_events_url":"https://api.github.com/users/jenky/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T09:24:12Z","updated_at":"2015-06-17T09:24:12Z","body":"Updated in f0f9d34. Thanks."}}