public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function() {
	      
	   // Add element button
	   if(this.options.useButtons) {
	      this.addButton = inputEx.cn('img', {src: inputEx.spacerUrl, className: 'inputEx-ListField-addButton'});
	      this.fieldContainer.appendChild(this.addButton);
      }
	      
	   // List label
	   this.fieldContainer.appendChild( inputEx.cn('span', null, {marginLeft: "4px"}, this.options.listLabel) );
	      
	   // Div element to contain the children
	   this.childContainer = inputEx.cn('div', {className: 'inputEx-ListField-childContainer'});
	   this.fieldContainer.appendChild(this.childContainer);
	   
	   // Add link
	   if(!this.options.useButtons) {
	      this.addButton = inputEx.cn('a', {className: 'inputEx-List-link'}, null, this.options.listAddLabel);
	      this.fieldContainer.appendChild(this.addButton);
      }
	}
function() {
	      
	   // Add element button
	   if(this.options.useButtons) {
	      this.addButton = inputEx.cn('img', {src: inputEx.spacerUrl, className: 'inputEx-ListField-addButton'});
	      this.fieldContainer.appendChild(this.addButton);
      }
	      
	   // List label
	   this.fieldContainer.appendChild( inputEx.cn('span', null, {marginLeft: "4px"}, this.options.listLabel) );
	      
	   // Div element to contain the children
	   this.childContainer = inputEx.cn('div', {className: 'inputEx-ListField-childContainer'});
	   this.fieldContainer.appendChild(this.childContainer);
	   
	   // Add link
	   if(!this.options.useButtons) {
	      this.addButton = inputEx.cn('a', {className: 'inputEx-List-link'}, null, this.options.listAddLabel);
	      this.fieldContainer.appendChild(this.addButton);
      }
	}
function ( ) { // Add element button if ( this . options . useButtons ) { this . addButton = inputEx . cn ( 'img' , { src : inputEx . spacerUrl , className : 'inputEx-ListField-addButton' } ) ; this . fieldContainer . appendChild ( this . addButton ) ; } // List label this . fieldContainer . appendChild ( inputEx . cn ( 'span' , null , { marginLeft : "4px" } , this . options . listLabel ) ) ; // Div element to contain the children this . childContainer = inputEx . cn ( 'div' , { className : 'inputEx-ListField-childContainer' } ) ; this . fieldContainer . appendChild ( this . childContainer ) ; // Add link if ( ! this . options . useButtons ) { this . addButton = inputEx . cn ( 'a' , { className : 'inputEx-List-link' } , null , this . options . listAddLabel ) ; this . fieldContainer . appendChild ( this . addButton ) ; } }
Render the addButton
Render the addButton