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

This commit is contained in:
gavin@gavinsharp.com 2007-07-28 20:16:01 -07:00
parent c18a15c112
commit 26ef489dfa

View File

@ -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";