add:    var inputs = input.parentNode.getElementsByTagName('INPUT'); if (inputs.length <= 2) { input.value = ''; return; } 
context: function deleteOptionListRow(button){	var input = button.previousSibling;	while (input.tagName != 'INPUT') {		input = input.previousSibling;	}	if (input.value == '') return;	var moveUpBut = button.nextSibling;	while (moveUpBut != null) {		if (moveUpBut.tagName == 'A' && moveUpBut.name == 'moveup') {			break;		}		moveUpBut = moveUpBut.nextSibling;	}	button.parentNode.removeChild(moveUpBut);	var moveDownBut = button.nextSibling;	while (moveDownBut != null) {		if (moveDownBut.tagName == 'A' && moveDownBut.name == 'movedown') {			break;		}		moveDownBut = moveDownBut.nextSibling;	}	button.parentNode.removeChild(moveDownBut);	var brTag = button.nextSibling;	while (brTag.tagName != 'BR') {		brTag = brTag.nextSibling;	}	button.parentNode.removeChild(input);	button.parentNode.removeChild(brTag);	button.parentNode.removeChild(button);}
meta: 5635	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5635/b61411e75a787237ab3ed26faef8bdb159955a0c/edit.js/clean/core/lib/js/edit.js