don't check for focused widget in "onOK" since users can't dismiss the dialog if we bail at this point. bug #60868

git-svn-id: svn://10.0.0.236/trunk@85492 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brade%netscape.com
2001-01-25 15:55:40 +00:00
parent 34383772fb
commit ba0227a44d

View File

@@ -17,11 +17,6 @@ function doSetOKCancel(okFunc, cancelFunc, button2Func, button3Func )
function doOKButton()
{
var v = document.commandDispatcher.focusedElement;
if (v && v.localName.toLowerCase() == 'textarea')
return;
var close = true;
if ( doOKFunction )