diff --git a/src/sunstone/public/bower_components/resumablejs/resumable.js b/src/sunstone/public/bower_components/resumablejs/resumable.js index 43790307da..5e9f342483 100644 --- a/src/sunstone/public/bower_components/resumablejs/resumable.js +++ b/src/sunstone/public/bower_components/resumablejs/resumable.js @@ -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); }); }; diff --git a/src/sunstone/public/js/plugins/images-tab.js b/src/sunstone/public/js/plugins/images-tab.js index 71b99a78fe..07df19b891 100644 --- a/src/sunstone/public/js/plugins/images-tab.js +++ b/src/sunstone/public/js/plugins/images-tab.js @@ -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;