Closed Bug 14954 Opened 21 years ago Closed 21 years ago

Wallet preview message is transposed

Categories

(Toolkit :: Form Manager, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: morse, Unassigned)

Details

Go to any form (don't know any, select from the menu edit/wallet/samples and
pick any of them) and enter some date.  Then capture the data (menu item
edit/wallet/capture).  Then clear out the form and then autofill it (menu item
edit/wallet/safe-formfill).  You get a dialog which should say:

    THE FOLLOWING ITEMS CAN BE PREFILLED FOR YOU

    item
    item
    ...
    item

    [] BYPASS THIS SCREEN WHEN PREFILLING THIS FORM IN THE FUTURE

But unfortuntely the messages got transposed and what you see is

    BYPASS THIS SCREEN WHEN PREFILLING THIS FORM IN THE FUTURE

    item
    item
    ...
    item

    [] THE FOLLOWING ITEMS CAN BE PREFILLED FOR YOU

This is of course meaningless and confusing.  Fix is simple.  All it involves is
correcting these two lines in WalletPreview.js from:

     var heading = Bundle.GetStringFromName("bypass");
     var bypass = Bundle.GetStringFromName("heading");

to:

     var heading = Bundle.GetStringFromName("heading");
     var bypass = Bundle.GetStringFromName("bypass");

If I can get permission to check this into the closed tree, I will do so.
Status: NEW → ASSIGNED
Target Milestone: M10
Marking as M10 per dp's instructions.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Approval received -- fix checked in.
Status: RESOLVED → VERIFIED
verified
Assignee: morse → nobody
Product: Core → Toolkit
QA Contact: paulmac → form.manager
Target Milestone: M10 → ---
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.