/*
* JSClass "JSAttachmentPlaceConfig"
* This jsclass creates common values constants for attachment place.
*/

function JSAttachmentPlaceConfig() {
  
  /** attachment manager popup params*/
  this.attachmentManagerWindowName = "attachmentManager";
  this.attachmentManagerURL = "attachment-manager.html";
  this.attachmentManagerOpenParams = "width=400,height=400,center=true,modal=true";
  
  /** attachment manager defoul size*/
  this.defaultWidth = 400;
  this.defaultHeight = 300;
  
  /* append: 
  * true  - inserts new item before first item 
  * false - inserts new item after last item
  */
  this.append = false;
  
  /* For local testing if not need - remove it */
  //this.scriptPath = "src/scripts/";
  
  this.htmlFile = "componence-attachment-place-template.html";
}

/*
* Value of follow variables is a template block name
* See componence-attachment-place-template.html
*/
var COMPONENCE_DEFAULT_ATTACHMENT_PLACE = "Place";
var COMPONENCE_DEFAULT_ATTACHMENT_PLACE_ON_DETAILS = "DetailsPlace";
var COMPONENCE_CUSTOM_ATTACHMENT_PLACE  = "CustomPlace";
var COMPONENCE_ANOTHER_ONE_PLACE        = "AnotherOnePlace";


var AttachmentPlaceConfig = new JSAttachmentPlaceConfig();

