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:
parent
93bc3f7094
commit
8b9adf78a9
@ -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);
|
||||
});
|
||||
};
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user