1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

feature #3194: Do not remove event target when the file input changes

This commit is contained in:
Daniel Molina 2014-09-24 10:59:19 +02:00
parent 93bc3f7094
commit 8b9adf78a9
2 changed files with 2 additions and 2 deletions

View File

@ -710,7 +710,7 @@
// When new files are added, simply append them to the overall list
input.addEventListener('change', function(e){
appendFilesFromFileList(e.target.files,e);
e.target.value = '';
//e.target.value = '';
}, false);
});
};

View File

@ -936,7 +936,7 @@ function initialize_create_image_dialog(dialog) {
}
});
uploader.assignBrowse($('#file-uploader-input',dialog)[0]);
uploader.assignBrowse($('#file-uploader-input',dialog));
var fileName = '';
var file_input = false;