Closed Bug 64357 Opened 24 years ago Closed 23 years ago

Save form data button should be disabled if there is no data to save

Categories

(Toolkit :: Form Manager, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tpreston, Unassigned)

Details

1. Go to a site that will pop up the form toolbar, ex home.netscape.com 2. Do not enter any data on the site 3. Click the save form data toolbar 4. A dialog box will pop up saying data has been captured, what data? Expected results: If there is no data on the form, the save button should be disabled or a dialog should say there is no data to save Actual results: dialog says data has been captured
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9
Keywords: nsbeta1
Taking this a step further, the save button should be disabled in all of the following cases: 1. There is no data on the form 2. The form has not changed since the last time save-form-data was performed 3. The form has not changed since the last time prefill-form was performed
Agreed
nav triage team: since we've decided to remove the toolbar, not a beta stopper.
Keywords: nsbeta1nsbeta1-
This is more general than just the toolbar. Wherever the "save" appears (context menu, edit menu, toolbar), it should be disabled in the three cases I mentioned above. Currently it is disabled in the first case only.
Target Milestone: mozilla0.9 → mozilla1.0
Target Milestone: mozilla1.0 → mozilla1.0.1
See also bug 77073. Turns out that the tests for enabling/disabling the menu items are slowing down the menu creation already. Adding more to those tests might slow it down even more.
Marking target milestone to be the same as milestone for bug 77073
Target Milestone: mozilla1.0.1 → mozilla0.9.9
Target Milestone: mozilla0.9.9 → mozilla1.0.1
this is working for me. any empty form produces disables save data entries
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Assignee: morse → nobody
Product: Core → Toolkit
QA Contact: tpreston → form.manager
Target Milestone: mozilla1.0.1 → ---
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.