Giter Club home page Giter Club logo

mantisbt-pastezone's People

Contributors

pawelrojek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mantisbt-pastezone's Issues

IE 11 compatibility

Hello Pawel,
are you able prepare version for IE 11?
Currently your addon is not working at IE 11.

Thank you for your feedback.

Upgrade to Mantis 2.4 breaks PasteZone Plugin

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]);
}

double picture

Hello, updated mantisbt to 2.22.1 but this plugin acts strange,
when I paste picture, double, two picture occurs
Can you help me?

image

I've had this problem in chrome 78.0.3904.108 version.
firefox browser is normal there is no problem on the other browsers

bug_change_status_page.php addes js files, causes console error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.