rem:  doSetOKCancel(onOK, onCancel); 
add:  doSetOKCancel(onOK, onCancel); 
context:         function onLoad()        {            // Init dialog.            initDialog();            // Get find component.            finder = Components.classes[ "@mozilla.org/appshell/component/find;1" ].getService();            finder = finder.QueryInterface( Components.interfaces.nsIFindComponent );            if ( !finder ) {                alert( "Error accessing find component\n" );                window.close();                return;            }            // change OK to find            dialog.find.setAttribute("value", document.getElementById("fBLT").getAttribute("value"));            // setup the dialogOverlay.xul button handlers            doSetOKCancel(onOK, onCancel);            // Save search context.            data = window.arguments[0];            // Tell search context about this dialog.            data.findDialog = window;            // Fill dialog.            loadDialog();            // Give focus to search text field.            dialog.findKey.focus();        }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1d71ed967e84c636cd5149277d291cb26ad1ea48/finddialog.js/buggy/xpfe/components/find/resources/finddialog.js