Rappsilber-Laboratory / build-xiview

GNU General Public License v3.0
2 stars 0 forks source link

can click submit while still uploading peaks #2

Closed colin-combe closed 6 years ago

martingraham commented 6 years ago

I can do that in the xi3 search submit page too

It needs an acquisition and sequence already selected for the submit button to be enabled

Then start uploading a big ol' acquisition file

Then press submit before it finishes

End result seems to be the files don't make it and the acquisiton record doesn't get added to the database

I'll have a think and see what's best, either 1) Disable submit button while uploading 2) Have an extra step that says "are you sure, you're still uploading" if you press submit and it's the case

colin-combe commented 6 years ago

yes... we have different bits of code with same problem (mine lives in my xiNET_website project).

2 isn't an option for me, it will definitely be broken if they proceed. It'll be 1 for the xiView website