forked from 0x2620/oxjs
fix a bug in Ox.FileButton
This commit is contained in:
parent
826eb5548d
commit
8c67bf9462
2 changed files with 3 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ Ox.FileButton = function(options, self) {
|
|||
function selectFiles(e) {
|
||||
var filelist = e.target.files,
|
||||
files = [];
|
||||
self.files = [];
|
||||
Ox.loop(filelist.length, function(i) {
|
||||
files.push(filelist.item(i));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue