rem: this.buttonSpan.appendChild(htmlButton); 
add: this.buttonSpan.appendChild(htmlButton); 
context: YAHOO.widget.Dialog.prototype.configButtons = function(type, args, obj) {	var buttons = args[0];	if (buttons != "none") {		this.buttonSpan = null;		this.buttonSpan = document.createElement("SPAN");		this.buttonSpan.className = "button-group";		for (var b=0;b<buttons.length;b++) {			var button = buttons[b];			var htmlButton = document.createElement("BUTTON");			htmlButton.setAttribute("type", "button");			if (button.isDefault) {				htmlButton.className = "default";				this.defaultHtmlButton = htmlButton;			}			htmlButton.appendChild(document.createTextNode(button.text));			YAHOO.util.Event.addListener(htmlButton, "click", button.handler, this, true);			this.buttonSpan.appendChild(htmlButton);					button.htmlButton = htmlButton;			if (b === 0) {				this.firstButton = button.htmlButton;			}			if (b == (buttons.length-1)) {				this.lastButton = button.htmlButton;			}		}		this.setFooter(this.buttonSpan);		this.cfg.refireEvent("iframe");		this.cfg.refireEvent("underlay");	} else { // Do cleanup		if (this.buttonSpan) {			if (this.buttonSpan.parentNode) {				this.buttonSpan.parentNode.removeChild(this.buttonSpan);			}			this.buttonSpan = null;			this.firstButton = null;			this.lastButton = null;			this.defaultHtmlButton = null;		}	}};
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/container-debug.js/clean/www/resources/yui/container/container-debug.js