Open
Bug 1460725
Opened 7 years ago
Accidentally clicking the Don't add an attachment button immediately clears the form data instead of simply collapsing the section
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: ianc, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
Steps to reproduce:
First of all, the bugzilla version I'm using is actually 5.0.4, but there's no value like that in the drop list today.
I actually performed more steps, trying to paste a screen shot from my clipboard into the "Paste text as attachment" box, but the minimal steps are below:
Start entering a new bug
Click the Add an attachment button
Type a long and complicated description
[Accidentally] click Don't add an attachment
-- You have now lost your description and must reconstruct it
Actual results:
Form data was cleared
Expected results:
Either retain the form data and ignore it upon Submit (preferred)
OR
Prompt the user to confirm before discarding changes.
You need to log in
before you can comment on or make changes to this bug.
Description
•