public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(index) {
	   var elementDiv = this.subFields[index].getEl().parentNode;
	      
	   this.subFields[index] = undefined;
	   this.subFields = inputEx.compactArray(this.subFields);
	      
	   // Remove the element
	   elementDiv.parentNode.removeChild(elementDiv);
	}
function(index) {
	   var elementDiv = this.subFields[index].getEl().parentNode;
	      
	   this.subFields[index] = undefined;
	   this.subFields = inputEx.compactArray(this.subFields);
	      
	   // Remove the element
	   elementDiv.parentNode.removeChild(elementDiv);
	}
function ( index ) { var elementDiv = this . subFields [ index ] . getEl ( ) . parentNode ; this . subFields [ index ] = undefined ; this . subFields = inputEx . compactArray ( this . subFields ) ; // Remove the element elementDiv . parentNode . removeChild ( elementDiv ) ; }
Remove the line from the dom and the subField from the list.
@param {integer} index The index of the element to remove
Remove the line from the dom and the subField from the list .