speedy32129 / time_logger

Redmine Time logger plugin. More than likely there is only going to be one more public release. New version has new time logging with the option of multiple loggers running at the same time, fixes for excessive loggng, and a whole new look.
Other
58 stars 43 forks source link

Uncaught ReferenceError: updateTimeLoggerMenu is not defined #30

Open madc opened 8 years ago

madc commented 8 years ago

I'm getting the following errors in the console, when opening the 'New Issue' page:

SyntaxError: expected expression, got '}'1 new:396:31
ReferenceError: updateTimeLoggerMenu is not defined
<anonymous> new:412
1 new:412:5
Environment:
  Redmine version                3.2.0.stable
  Ruby version                   2.1.5-p273 (2014-11-13) [x86_64-linux-gnu]
  Rails version                  4.2.5
  Environment                    production
  Database adapter               Mysql2
Redmine plugins:
  [...]
  time_logger                    0.5.3

Let me know, if i can provide additional infos.

speedy32129 commented 8 years ago

Just created a machine to mimic your setup. Tried a couple of scenarios and I can't reproduce the issue. But note the Redmine version. I see the ellipses under plugins ... Is there any other plugins installed?

Environment: Redmine version 3.2.0.stable.15148 Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux-gnu] Rails version 4.2.5 Environment production Database adapter Mysql2 SCM: Subversion 1.8.10 Mercurial 3.1.2 Bazaar 2.7.0 Git 2.1.4 Filesystem
Redmine plugins: time_logger 0.5.3

madc commented 8 years ago

I just checked, when i uninstall the time_logger plugin both errors are gone. Here's the complete setup:

Environment:
  Redmine version                3.2.0.stable
  Ruby version                   2.1.5-p273 (2014-11-13) [x86_64-linux-gnu]
  Rails version                  4.2.5
  Environment                    production
  Database adapter               Mysql2
SCM:
  Git                            2.1.4
  Filesystem                     
  Xitolite                       2.1.4
Redmine plugins:
  redmine_bootstrap_kit          0.2.4
  redmine_checklists             3.1.3
  redmine_code_review            0.7.0
  redmine_git_hosting            1.2.0
  redmine_lightbox2              0.2.5
  redmine_mentions               0.0.1
  redmine_slack                  0.1
  time_logger                    0.5.3

I'm using this theme, but it also happens with the default one.