Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"beforeupload" event does not work in Content Explorer #2703

Open
Yelich6 opened this issue Sep 27, 2021 · 0 comments
Open

"beforeupload" event does not work in Content Explorer #2703

Yelich6 opened this issue Sep 27, 2021 · 0 comments
Labels

Comments

@Yelich6
Copy link

Yelich6 commented Sep 27, 2021

Please fill out the following template so we can reproduce and fix your issue as quickly as possible!

Note: if your issue includes a potential security vulnerability, please do not file it here. Instead, email the issue to [email protected] for support.

Note: if your issue involves previewing files, please report the issue here.

Environment:

  • Elements version:
    13.0.0, 11.0.2

Desktop (please complete the following information):

  • OS: [Windows 10, Max OS 11]
  • Browser [Chrome, IE11]
  • Version [93.0.4577.82]

Steps to reproduce the problem:

When users tried to retrieve "beforeupload" events in Content Explorer,
it does not work. For example, an user attach the files in the Content Explorer, nothing happens.
On the other hand, Content Uploader is able to listen the event. Is it possible to detect "beforeupload" events in Content Exproler?

sample code:

contentExplorer.addListener('beforeupload', function(file) {
  console.log(`I am about to upload`);
});

What is the expected behavior? (Screenshots can be helpful here)

What went wrong? (Screenshots, console logs, or HAR files can be helpful here)

Link to application or sample code:

If relevant, link to file (or attach file here)

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
https://cloud.box.com/s/js2eqvo8jmj3rhupi90jzjsh29bjpu6t
Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants