clipboard_image_paste icon indicating copy to clipboard operation
clipboard_image_paste copied to clipboard

Different JavaScript errors on different browsers, plugin not working

Open kristapsk opened this issue 5 months ago • 1 comments

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 avatar Mar 13 '24 12:03 kristapsk

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

kristapsk avatar Mar 13 '24 13:03 kristapsk