Project

General

Profile

Defect #40346

Updated by Holger Just 7 months ago

Hi. I saw this error on browser console: 

 <pre><code 
 <code class="javascript"> 
 Uncaught SyntaxError: Unexpected token ';' (at new:604:37) 
 </code></pre> 

 </code> 
 When I checked the source of the error, I found this line: 

 <pre><code 
 <code class="javascript"> 
 if (assign_to_me_link.length &gt; 0) { 
 </code></pre> 

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

 <pre><code 
 <code class="javascript"> 
 if (assign_to_me_link.length > 0) { 
 </code></pre> 

 </code> 
 So obviously the @>@ '>' character is converting to <code>&gt;</code>. '&gt;'. 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).

Back