Quintiq file version 2.0
#parent: pnlActions/btnOK
Response OnClick () id:Response_pnlActions_btnOK_OnClick
{
  #keys: '[137818.0.100774402]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    data := DataHolderDialogData.Data();
    return not isnull( data ) 
           and Bookmark::CanCreate( EditFieldName.Text().TrimBoth(), 
                                ScenarioManager, 
                                data.WrappedInstance(), 
                                guard( DropDownBookmarkFolder.Data().Name(), '' ),
                                DataHolderDialogData.Data().IsFolder(), 
                                feedback );
  *]
  QuillAction
  {
    Body:
    [*
      // Create/Update Bookmark
      Form.OnOk();
    *]
    GroupServerCalls: false
  }
}
