Project

General

Profile

Actions

Defect #40346

closed

This error raise in console: "Uncaught SyntaxError: Unexpected token ';' (at new:604:37)"

Added by M.Mahdi Thantez 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hi. I saw this error on browser console:

Uncaught SyntaxError: Unexpected token ';' (at new:604:37)

When I checked the source of the error, I found this line:

if (assign_to_me_link.length > 0) {

That is defined in `app/views/issues/_form.html.erb` like this:

if (assign_to_me_link.length > 0) {

So obviously the > character is converting to >. I don't know is this related to Rails or Redmine itself, but If you think this issue is unrelated, please note below, and I will submit it to rails developers (if no one submitted it before).

Actions #1

Updated by M.Mahdi Thantez 7 months ago

* So obviously the '>' character is converting to '>'.

Actions #2

Updated by Holger Just 7 months ago

  • Description updated (diff)
Actions #3

Updated by Holger Just 7 months ago

  • Status changed from New to Needs feedback

I can not reproduce this issue on a clean Redmine 5.1.2. Have you installed any plugins which may affect the rendering of the form? If so, please remove these plugins as a test.

Actions #4

Updated by M.Mahdi Thantez 7 months ago

Holger Just wrote in #note-3:

I can not reproduce this issue on a clean Redmine 5.1.2. Have you installed any plugins which may affect the rendering of the form? If so, please remove these plugins as a test.

You right. It was a bug from 'redmine_multiprojects_issue'. I'm going to inform them. You can close this issue.
Thanks for your help.

Actions #5

Updated by Holger Just 7 months ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid

Thanks for your feedback!

Actions

Also available in: Atom PDF