Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

pasting fails when creating a new issue and edit tracker or status #22

Open
camous opened this issue Apr 22, 2015 · 1 comment
Open

Comments

@camous
Copy link

camous commented Apr 22, 2015

First of all, this plugin is great and really improve the usage.

Today, only when creating a new ticket (editing a ticket is fine), if you change at any moment either the tracker or status (then you see a little reloading), then you can paste any more.

Environment:
Redmine version 3.0.0.stable.14068
Ruby version 2.2.0-p0 (2014-12-25) [x86_64-linux]
Rails version 4.2.0
Environment production
Database adapter Mysql2

@camous
Copy link
Author

camous commented Apr 22, 2015

I'm neither a javascript developer or ruby whatsoever, but I've played a little bit with chrome developer console and was able to see that when editing either tracker or status, it's calling new.js file which this time forget to call preparePasteEvents(); event.

I had to fix it quickly and edited. I know that it will be overriden on my next redmine update
/usr/share/redmine/app/views/issues/new.js.erb

image

my knowledge about ruby plugin architecture isn't good, but I assume that it should be done in the plugin itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant