diff --git a/simplestore/etc/static/js/simplestore-deposit.js b/simplestore/etc/static/js/simplestore-deposit.js index ad9ff19e7b..62c8f3b230 100755 --- a/simplestore/etc/static/js/simplestore-deposit.js +++ b/simplestore/etc/static/js/simplestore-deposit.js @@ -122,11 +122,11 @@ function simplestore_init_plupload(selector, url, delete_url, get_file_url) { setDepositBtnState(); $('#uploadfiles').click(function(e) { + $('#uploadfiles').hide(); + uploader.start(); setDepositBtnState(); - //Show the domain selection stuff - $('#uploadfiles').hide(); $('#stopupload').show(); $('#domains').removeClass('hide'); $('#domains').slideDown(); @@ -134,8 +134,10 @@ function simplestore_init_plupload(selector, url, delete_url, get_file_url) { }); $('#stopupload').click(function(d){ - uploader.stop(); $('#stopupload').hide(); + + uploader.stop(); + $('#uploadfiles').show(); $.each(uploader.files, function(i, file) { if (file.loaded < file.size){