public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(e) {
	   Event.stopEvent(e);
	   
	   // Prevent adding a new field if already at maxItems
	   if( lang.isNumber(this.options.maxItems) && this.subFields.length >= this.options.maxItems ) {
	      return;
	   }
	   
	   // Add a field with no value: 
	   var subFieldEl = this.addElement();
	   
	   // Focus on this field
	   subFieldEl.focus();
	   
	   // Fire updated !
	   this.fireUpdatedEvt();
	}
function(e) {
	   Event.stopEvent(e);
	   
	   // Prevent adding a new field if already at maxItems
	   if( lang.isNumber(this.options.maxItems) && this.subFields.length >= this.options.maxItems ) {
	      return;
	   }
	   
	   // Add a field with no value: 
	   var subFieldEl = this.addElement();
	   
	   // Focus on this field
	   subFieldEl.focus();
	   
	   // Fire updated !
	   this.fireUpdatedEvt();
	}
function ( e ) { Event . stopEvent ( e ) ; // Prevent adding a new field if already at maxItems if ( lang . isNumber ( this . options . maxItems ) && this . subFields . length >= this . options . maxItems ) { return ; } // Add a field with no value:  var subFieldEl = this . addElement ( ) ; // Focus on this field subFieldEl . focus ( ) ; // Fire updated ! this . fireUpdatedEvt ( ) ; }
Add a new element to the list and fire updated event
@param {Event} e The original click event
Add a new element to the list and fire updated event