Quintiq file version 2.0
#parent: Toolbar/ButtonClearDataTransfers
Response OnClick () id:Response_Toolbar_ButtonClearDataTransfers_OnClick
{
  #keys: '[122752.0.593394640]'
  Body:
  [*
    // clear downloads
    transfers := LibDEF_DataBroker.GetAllDataTransfers();
    LibDEF_DataTransfer::DeleteCompletedOrHalted( transfers );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    Form.IsDEFDatasetsLoaded();
    return FeedbackObject::IsAllowed();
  *]
}
