pawelrojek / mantisbt-pastezone Goto Github PK
View Code? Open in Web Editor NEWPaste screenshots, pictures or files from clipboard directly into 'Issue Details' form
License: GNU General Public License v3.0
Paste screenshots, pictures or files from clipboard directly into 'Issue Details' form
License: GNU General Public License v3.0
Cause of this change #22673 (see also mantisbt/mantisbt@90b19da) the statements
if ($(".dropzone-form").length>0) myDropzone = Dropzone.forElement(".dropzone-form");
if ($(".auto-dropzone-form").length>0) myDropzone = Dropzone.forElement(".auto-dropzone-form");
returns no myDropzone
Object anymore.
A fix could be e.g.
if ($( 'form .dropzone' ).length>0) {
var classPrefix = 'dropzone';
var zone_class = '.' + classPrefix;
var zone = $( zone_class );
var form = zone.closest('form');
myDropzone = Dropzone.forElement(form[0]);
}
MantisBT 2.21.1 bug_change_status_page.php addes files from plugin, causes browser console error.
Uncaught TypeError: Cannot set property 'onpaste' of undefined
at HTMLDocument.<anonymous> (plugin_file.php?file=PasteZone/PasteZone.js:6)
at i (jquery-2.2.4.min.js:2)
at Object.fireWith [as resolveWith] (jquery-2.2.4.min.js:2)
at Function.ready (jquery-2.2.4.min.js:2)
at HTMLDocument.J (jquery-2.2.4.min.js:2)
(anonymous) @ plugin_file.php?file=PasteZone/PasteZone.js:6
i @ jquery-2.2.4.min.js:2
fireWith @ jquery-2.2.4.min.js:2
ready @ jquery-2.2.4.min.js:2
J @ jquery-2.2.4.min.js:2
Hello Pawel,
are you able prepare version for IE 11?
Currently your addon is not working at IE 11.
Thank you for your feedback.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.