mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
c18a15c112
commit
26ef489dfa
@ -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