rem: return this.CopySelect( instance_name,  this.formRef.elements[model_name] ); 
add: return this.CopySelect( instance_name,  elementdef.values ); 
context: function makenew( elementdef ) {    var model_name = elementdef.name + '[' + ( this.set_qty - 1 ) + ']';    var instance_name = elementdef.name + '[' + this.set_qty + ']';    switch (elementdef.type) {        case 'button':            newitem = this.addButton(instance_name, elementdef.label, elementdef.action);            break;        case 'image':            newitem = this.addImage(instance_name, elementdef.label);            break;        case 'select':            if ( this.set_qty > 1 ) {                return this.CopySelect( instance_name,  this.formRef.elements[model_name] );            }            return this.BuildSelect (instance_name, elementdef );            break;        case 'textarea':            newitem = this.addTextArea( instance_name, 20, 50 );             break;        default:            newitem = this.addElement( instance_name, elementdef.type );    }    return newitem;}
meta: 4746	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4746/c332f9976bce2f395df2ddcc9bc6976fbfc5fdec/elementCopier.js/buggy/scripts/elementCopier.js