peclik / clipboard_image_paste

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

JS TypeError: cbImagePaste.showPasteDialog is not a function #75

Open er2 opened 6 years ago

er2 commented 6 years ago

Error when clicking Add picture from clipboard

TypeError: cbImagePaste.showPasteDialog is not a function[Learn More] new:1:1
    onclick http://<domain>/projects/<project-name>/issues/new#:1:1

Environment: Redmine version 3.4.4.stable Ruby version 2.5.1-p57 (2018-03-29) [x86_64-linux-gnu] Rails version 4.2.10 Environment production Database adapter Mysql2 SCM: Git 2.17.1 Filesystem
Redmine plugins: clipboard_image_paste 1.12

Ubuntu 18.04.1 LTS, everything installed from ubuntu repos.

peclik commented 5 years ago

Are you able to check if there is public/plugin_assets/clipboard_image_paste/javascripts/clipboard_image_paste.js file in redmine directory and if that is loading correctly in browser? Browser version?

drmistral commented 5 years ago

Same problem here, with plugin version 1.13. Actually there is a problem loading the clipboard_image_paste.js file:

image

Mac Sierra 10.12.6 Chrome 70.0.3538.110 Firefox 63.0.3

Environment: Redmine version 3.4.2.stable Ruby version 2.4.2-p198 (2017-09-14) [x86_64-linux] Rails version 4.2.8 Environment production Database adapter Mysql2

Redmine plugins: clipboard_image_paste 1.13