[go: up one dir, main page]

Menu

#62 Incorrect highlighting in betta 3

colorer-take5
closed-works-for-me
HRC codes (39)
5
2004-11-16
2004-10-27
Anonymous
No

<script>
<%
if(user.getRole()
>=User.USER_ROLE_PROJECT_MANAGER){
%>
if(f.projectid.value=="0"){
f.addtask.style.display="none";
}else{
f.addtask.style.display="";
}
<%
}else{
%>
f.addtask.style.display="none";
<%
}
%>
</script>

script is highlighted as jsp code

Discussion

  • Nobody/Anonymous

    Sample file

     
  • Igor Russkih

    Igor Russkih - 2004-10-27
    • status: open --> open-accepted
     
  • Igor Russkih

    Igor Russkih - 2004-10-27

    Logged In: YES
    user_id=313042

    The same problems were observed with some other codes,
    should be fixed.

     
  • Igor Russkih

    Igor Russkih - 2004-10-27
    • labels: 511420 --> HRC codes
    • assigned_to: nobody --> lomecb
     
  • Igor Russkih

    Igor Russkih - 2004-11-16
    • status: open-accepted --> closed-works-for-me
     
  • Igor Russkih

    Igor Russkih - 2004-11-16

    Logged In: YES
    user_id=313042

    Fixed, althrough there is a HRC definition problem, causes
    wrapped content of JS code to be highlighted as HTML.

     

Log in to post a comment.