{"action":"created","issue":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/837","labels_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/837/labels{/name}","comments_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/837/comments","events_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/837/events","html_url":"https://github.com/danialfarid/ng-file-upload/issues/837","id":90754359,"number":837,"title":"ngf-select not opening window to select file","user":{"login":"arunduth","id":1546289,"avatar_url":"https://avatars.githubusercontent.com/u/1546289?v=3","gravatar_id":"","url":"https://api.github.com/users/arunduth","html_url":"https://github.com/arunduth","followers_url":"https://api.github.com/users/arunduth/followers","following_url":"https://api.github.com/users/arunduth/following{/other_user}","gists_url":"https://api.github.com/users/arunduth/gists{/gist_id}","starred_url":"https://api.github.com/users/arunduth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arunduth/subscriptions","organizations_url":"https://api.github.com/users/arunduth/orgs","repos_url":"https://api.github.com/users/arunduth/repos","events_url":"https://api.github.com/users/arunduth/events{/privacy}","received_events_url":"https://api.github.com/users/arunduth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-06-24T18:31:12Z","updated_at":"2015-07-17T03:19:39Z","closed_at":null,"body":"Team,\r\n\r\nI am working on file upload once user selects a file from Window. \r\nI have encountered an issue on click on upload button, the Window to select file is not opening.\r\n\r\nDid some googling and find one article https://github.com/danialfarid/ng-file-upload/issues/813\r\n\r\nMy input file is here and all the file upload input tags are inside of a ng-repeat.\r\n\"input type=\"file\" ngf-select ngf-change=\"myUpload($files, $index)\" />\"\r\n\r\nI have seen setTimeout function calls clickAndAssign(evt) method. And clickAndAssign(evt) method is defined inside another method namely clickHandler(evt). Also, both the methods have same argument name which is redundant.\r\n\r\nThat is the reason, file upload Window is not opening.\r\n\r\nI have fixed the same.\r\n\r\n   function clickAndAssign(event) {\r\n                if (event) {\r\n                    fileElem[0].click();\r\n                }\r\n               // if (isInputTypeFile() || !evt) {\r\n               //     elem.bind('click touchend', clickHandler);\r\n               //}\r\n            }\r\n\r\n\r\nKindly review and let me know your advise.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/comments/122158422","html_url":"https://github.com/danialfarid/ng-file-upload/issues/837#issuecomment-122158422","issue_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/837","id":122158422,"user":{"login":"jolacaleb","id":3924015,"avatar_url":"https://avatars.githubusercontent.com/u/3924015?v=3","gravatar_id":"","url":"https://api.github.com/users/jolacaleb","html_url":"https://github.com/jolacaleb","followers_url":"https://api.github.com/users/jolacaleb/followers","following_url":"https://api.github.com/users/jolacaleb/following{/other_user}","gists_url":"https://api.github.com/users/jolacaleb/gists{/gist_id}","starred_url":"https://api.github.com/users/jolacaleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolacaleb/subscriptions","organizations_url":"https://api.github.com/users/jolacaleb/orgs","repos_url":"https://api.github.com/users/jolacaleb/repos","events_url":"https://api.github.com/users/jolacaleb/events{/privacy}","received_events_url":"https://api.github.com/users/jolacaleb/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T03:19:39Z","updated_at":"2015-07-17T03:19:39Z","body":"I have same problem too.\r\nI'm using chrome version 43.0.2357.134 and Windows 7.\r\n\r\nStrangely, I don't know about the extension 'Dashlane,' and my code is pretty simple.\r\n```html\r\n<div ngf-drop ngf-select ng-model=\"file\" class=\"drop-box\" ngf-accept=\"'audio/*'\"\r\n   ngf-multiple=\"false\" ngf-allow-dir=\"false\"\r\n   ngf-drag-over-class=\"{accept: 'accept-class', reject:'reject-class', delay: 100}\" >\r\n   Click here or drag here\r\n</div>\r\n```\r\n\r\nIn Chrome, ngf-drop is normally functioning, but for ngf-select, I have to double-click to select a file.\r\nIn Internet Explorer 11, both are normal.\r\nIn pluckr, they all work good.\r\n"}}