netaustin / redmine_keyboard_shortcuts

Keyboard Shortcuts for Redmine
Other
17 stars 14 forks source link

script error and plugin not working on redmine2.1 #4

Open chagel opened 11 years ago

chagel commented 11 years ago

Uncaught ReferenceError: Class is not defined cookie_jar.js:24 Uncaught TypeError: Object # has no method 'observe' keyboard_shortcuts.js:3


Environment: Redmine version 2.1.0.stable Ruby version 1.9.3 (x86_64-linux) Rails version 3.2.8 Environment production Database adapter Mysql2 Redmine plugins: redmine_keyboard_shortcuts 0.0.1

archonwang commented 11 years ago

Urrr,,

could you give more information? Thanks.

chagel commented 11 years ago

It seems this plugin uses Prototype.js. This error is caused by Rails3.2 which integrates jQuery instead of Prototype by default. I haven't figured out how to keep both scripts work well with this plugin and it may be wise to upgrade it with jQuery I guess.