rem: var lastElement=this.lastButton||this.lastFormElement;if(lastElement){this.preventTabOut=new YAHOO.util.KeyListener(lastElement,{shift:false,keys:9},{fn:me.focusFirst,scope:me,correctScope:true});this.showEvent.subscribe(this.preventTabOut.enable,this.preventTabOut,true);this.hideEvent.subscribe(this.preventTabOut.disable,this.preventTabOut,true);}}};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{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;}}};YAHOO.widget.Dialog.prototype.focusFirst=function(type,args,obj){if(args){var e=args[1];if(e){YAHOO.util.Event.stopEvent(e);}} 
add: 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 { 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; } } }; 
context: var lastElement=this.lastButton||this.lastFormElement;if(lastElement){this.preventTabOut=new YAHOO.util.KeyListener(lastElement,{shift:false,keys:9},{fn:me.focusFirst,scope:me,correctScope:true});this.showEvent.subscribe(this.preventTabOut.enable,this.preventTabOut,true);this.hideEvent.subscribe(this.preventTabOut.disable,this.preventTabOut,true);}}};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{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;}}};YAHOO.widget.Dialog.prototype.focusFirst=function(type,args,obj){if(args){var e=args[1];if(e){YAHOO.util.Event.stopEvent(e);}}
meta: 5390	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5390/a404804dee65316d0532ea027a9b2b4337920506/container-min.js/buggy/src/resources-packaged/ops/javascript/yui/container-min.js