1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 17:45:10 +01:00
onion/js/components/ascribe_uploader/ascribe_file_drag_and_drop
Brett Sun d23331d9b9 Remove ReactS3FineUploader's dependency on react-router's location
ReactS3FineUploader used to check the current url’s query params to
determine which method it should use to upload, but this decision means
the component is tightly coupled with react-router and history.js. A
major pain point is having to propagate the location prop all the way
down to this component even when it’s not necessary.

Now, ReactS3FineUploader’s parent elements can either parse the current
query params themselves or, if they have a location from react-router,
simply use the location.

Added a few utils to help parse url params.
2015-10-30 17:43:20 +01:00
..
file_drag_and_drop_dialog.js Remove ReactS3FineUploader's dependency on react-router's location 2015-10-30 17:43:20 +01:00
file_drag_and_drop_preview_image.js spinners part2 2015-10-14 16:17:10 +02:00
file_drag_and_drop_preview_iterator.js Merge branch 'AD-456-ikonotv-branded-page-for-registra' into AD-957-custom-upload-button-for-contract 2015-09-15 13:47:36 +02:00
file_drag_and_drop_preview_other.js spinners part2 2015-10-14 16:17:10 +02:00
file_drag_and_drop_preview_progress.js minor getLangText edition 2015-09-16 15:23:01 +02:00
file_drag_and_drop_preview.js minor corrections 2015-09-16 14:07:55 +02:00
file_drag_and_drop.js Remove ReactS3FineUploader's dependency on react-router's location 2015-10-30 17:43:20 +01:00