peclik / clipboard_image_paste

Redmine plugin for pasting cropped image from clipboard as an attachment.
264 stars 118 forks source link

Different JavaScript errors on different browsers, plugin not working #102

Open kristapsk opened 8 months ago

kristapsk commented 8 months ago

I'm having different JavaScript errors on different browsers when enabling plugin at page load.

With Google Chrome 122.0.6261.94:

image

With Firefox 123.0:

Uncaught TypeError: $.event.fixHooks is undefined
    setupFileDrop https://XXX/redmine/javascripts/attachments.js?1576842242:198

My environment:

Environment:
  Redmine version                4.0.6.stable
  Ruby version                   2.7.0-p0 (2019-12-25) [x86_64-linux-gnu]
  Rails version                  5.2.3
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
SCM:
  Git                            2.25.1
  Filesystem                     
Redmine plugins:
  clipboard_image_paste          1.13
  redmine_dark                   1.0.2
  stuff_to_do_plugin             0.8.0
kristapsk commented 8 months ago

Sorry, it is actually working. So only issue is JS errors in console.