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 48ceb42878
commit ab6aa2b0f9

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