{"action":"closed","issue":{"url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/147","labels_url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/147/comments","events_url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/147/events","html_url":"https://github.com/kartik-v/bootstrap-fileinput/issues/147","id":55577156,"number":147,"title":"Add auto upload files","user":{"login":"devbean","id":1142097,"avatar_url":"https://avatars.githubusercontent.com/u/1142097?v=3","gravatar_id":"","url":"https://api.github.com/users/devbean","html_url":"https://github.com/devbean","followers_url":"https://api.github.com/users/devbean/followers","following_url":"https://api.github.com/users/devbean/following{/other_user}","gists_url":"https://api.github.com/users/devbean/gists{/gist_id}","starred_url":"https://api.github.com/users/devbean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devbean/subscriptions","organizations_url":"https://api.github.com/users/devbean/orgs","repos_url":"https://api.github.com/users/devbean/repos","events_url":"https://api.github.com/users/devbean/events{/privacy}","received_events_url":"https://api.github.com/users/devbean/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-27T05:15:42Z","updated_at":"2015-01-31T14:13:12Z","closed_at":"2015-01-31T14:13:12Z","body":"I want to add auto uploading when file selected but found nothing about this. So I tried to add code\r\n```javascript\r\n$('#input-id').fileinput('upload');\r\n```\r\ninto callback for file loaded event, it says upload function i is undefined. I think maybe fileinput could add this feature and could you tell me if my code above is incorrect?"}}