mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 04:35:33 +00:00
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:
parent
48ceb42878
commit
ab6aa2b0f9
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user