Skip to content

Uploader not working as expected #1983

Description

@Utsav-Ladani

Describe the bug

  • The uploaded item is shown at the wrong place in UI when multiple uploaders are on the same page.
  • If there are two uploaders and we upload the item to the second using the uploader, then it is shown under the first uploader section.
  • Start upload button is also visible for all uploaders instead of one.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new post and add some media to the default album( album with id 1).
  2. Add the following content to the page:
     [rtmedia_gallery global=true album_id=1 uploader=true media_title=true]
    
     [rtmedia_gallery global=true album_id=1 uploader=true media_title=true]
    
  3. Now save the publish page.
  4. Open the page and click on the select your files button of the second uploader.
  5. Select a file from the file manager popup, and a selected file added to the first uploader section

Expected behavior

  • Added items should be shown after their respective uploader section.
  • The uploader button is only visible for the only uploader for which the media is placed into the queue to upload the item.

Screenshots or Visual
image

Test Environment Used

  • WordPress: Latest
  • BuddyPress: Latest
  • rtMedia: pre-release
  • Browser: Firefox, Chrome

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions