From 26ef489dfa3241517b7ff9f430d8ee6128ce11d3 Mon Sep 17 00:00:00 2001 From: "gavin@gavinsharp.com" Date: Sat, 28 Jul 2007 20:16:01 -0700 Subject: [PATCH] Bug 389330: remove target checks that are unneeded now that the patch for bug 238987 has landed (caused the OK button in the helper app dialog to be disabled in cases where it shouldn't be), r=mano, a=mconnor on IRC for Firefox 3 M7 landing --- toolkit/mozapps/downloads/src/nsHelperAppDlg.js.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/toolkit/mozapps/downloads/src/nsHelperAppDlg.js.in b/toolkit/mozapps/downloads/src/nsHelperAppDlg.js.in index ebef3b5ddbe..a400b1b902e 100644 --- a/toolkit/mozapps/downloads/src/nsHelperAppDlg.js.in +++ b/toolkit/mozapps/downloads/src/nsHelperAppDlg.js.in @@ -589,15 +589,11 @@ nsUnknownContentTypeDialog.prototype = { _blurred: false, _delayExpired: false, onBlur: function(aEvent) { - if (aEvent.target != this.mDialog.document) - return; this._blurred = true; this.mDialog.document.documentElement.getButton("accept").disabled = true; }, onFocus: function(aEvent) { - if (aEvent.target != this.mDialog.document) - return; this._blurred = false; if (this._delayExpired) { var script = "document.documentElement.getButton('accept').disabled = false";