Quintiq file version 2.0
#parent: ListIssue
Response OnClickElement (
  LibOpt_Issue element
) id:Response_ListIssue_OnClickElement
{
  #keys: '[142652.0.2051817615]'
  Body:
  [*
    // Toggle the `IsSeen` value for the `LibOpt_Issue` element. 
    
    // If the `ClickAction` happens in the following range where the 'CHECKBOX' image is drawn:
    if( x >= ( level + 1 ) * 8
        and x < ( level + 2 ) * 8 
      )
    {
      // Then, toggle the `IsSeen` value for the `LibOpt_Issue` element.
      element.ToggleIsSeen();
    }
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_List_OnClickElement'
}
