pawelrojek / mantisbt-pastezone

Paste screenshots, pictures or files from clipboard directly into 'Issue Details' form
GNU General Public License v3.0
8 stars 2 forks source link

bug_change_status_page.php addes js files, causes console error #3

Open kuz30 opened 5 years ago

kuz30 commented 5 years ago

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