Quintiq file version 2.0
#parent: ListScenario
Response OnClick (
  ScenarioFolder selection
) id:Response_ListScenario_MenuCreateFolder_OnClick
{
  #keys: '[134266.1.2007937814]'
  CanBindMultiple: false
  DefinitionID => /ListScenario/Responsedef_ListScenario_WebMenu_OnClick
  Initiator: 'MenuCreateFolder'
  Precondition:
  [*
    return not isnull( ScenarioManager ) and selection.CanCreate( feedback, false );
  *]
  QuillAction
  {
    Body:
    [*
      // Create a new folder
      dlg := construct( DialogCreateEditScenarioFolder );
      dlg.New( selection, FormScenarioManager );
    *]
    GroupServerCalls: false
  }
}
