Skip to content

Commit

Permalink
Bug 1385785 - Clicking on form autofill dropdown warning notes should…
Browse files Browse the repository at this point in the history
… not open preferences tab. r=lchang

MozReview-Commit-ID: 4IWBroDQNT
  • Loading branch information
raylin committed Nov 14, 2017
1 parent f8eb146 commit d3d3598
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions browser/extensions/formautofill/content/formautofill.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@

<handlers>
<handler event="click" button="0"><![CDATA[
if (this._warningTextBox.contains(event.originalTarget)) {
return;
}
window.openPreferences("panePrivacy", {origin: "autofillFooter"});
]]></handler>
</handlers>
Expand Down

0 comments on commit d3d3598

Please sign in to comment.