Props not properly refreshed after text changed
-
Micah Martin
- Tag set to bug
- Milestone changed from Limelight 0.2 to Limelight 0.4
-
Eric Meyer
Here is the code that did it.
from props.rb: group {
label :id => "ticket_title", :name => "ticket_title" label :id => "ticket_state", :name => "ticket_state"} group {
label :id => "ticket_assigned_user", :name => "ticket_assigned_user"} group {
label :id => "ticket_milestone", :name => "ticket_milestone"}
from my view_ticket.rb player: def scene_opened(event)
scene.find("ticket_title").text = current_ticket.title scene.find("ticket_state").text = current_ticket.state.capitalize scene.find("ticket_assigned_user").text = "Assigned User: #{current_ticket.assigned_user_name}" scene.find("ticket_milestone").text = milestone_titleend All of the methods on current_ticket and milestone_title are just strings.
-
Micah Martin
- Milestone changed from Limelight 0.4 to Limelight 0.5
-
Micah Martin
- Milestone changed from Limelight 0.5 to Limelight 0.6
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.