Is there an event that targets dropzone?
Moderators: Developer, Contributor
Is there an event that targets dropzone?
Is there an event that fires whenever dropzone is displayed? The hooks I've been using do run when dropzone is there but they also run on some pages that don't have dropzone. I get some javascript errors but that is the extent of it so it's not a showstopper but I would like to clean it up.
Re: Is there an event that targets dropzone?
What about checking for the presence of window.dropzone?
Or look for other markers that indicate a dropzone target is on the page?
https://www.dropzonejs.com/
Or look for other markers that indicate a dropzone target is on the page?
https://www.dropzonejs.com/
If you want Mantis to work differently, use or create a plugin. Visit the Plugins forums.
Ask developers to create a plugin that you need - and motivate them to help you!
Ask developers to create a plugin that you need - and motivate them to help you!
Re: Is there an event that targets dropzone?
The below pages have a direct reference to a dropzone (other than defining and/or enabling). The last 2 scripts are included quite a lot so you would need to verify which functions with "dropzone" from those 2 are referenced in all the scripts (tedious job)
bug_report_page.php
bugnote_add_inc.php
core/html_api.php
core/print_api.php
bug_report_page.php
bugnote_add_inc.php
core/html_api.php
core/print_api.php