History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: AMATH-866
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Stefan Winterstein
Votes: 0
Watchers: 0
Operations

Link this issue to another issue
If you were logged in you would be able to see more operations.
ActiveMath

Tooltip for grey knowledge boxes in first chapter sometime reads "-1%"

Created: 2006-07-21 10:07   Updated: 2006-11-23 15:11
Component/s: Webapp: User Interface
Affects Version/s: None
Fix Version/s: 1.0

Time Tracking:
Not Specified


 Description  « Hide
The tooltip for grey knowledge boxes sometime reads "-1%" instead of "??%".

This seems to affect only the first chapters, and goes away sometime after reloading. Must be somthing weird with this Velocity code from toc.vm:

#set($mastery = $entry.Mastery)
#if("$mastery" == "-1") #set($mastery = "??")#end
#set($tooltip = $i18n.phrase("knowledge.mastery.tooltip", "$mastery"))
#masteryImage($entry.Mastery "$tooltip")



 All   Comments   Work Log   Change History   Version Control   FishEye   Crucible   Related Builds      Sort Order: Ascending order - Click to sort in descending order
Carsten Ullrich - 2006-11-23 15:11
This was evil!
The velocity code is just fine, BUT the javascript function "updatePageMastery" messed around with
the tooltip text afterwards....