Last modified: 2014-03-22 00:40:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52199, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50199 - Standard inputs lose their values on preview
Standard inputs lose their values on preview
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Jatin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-25 21:55 UTC by s7eph4n
Modified: 2014-03-22 00:40 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description s7eph4n 2013-06-25 21:55:57 UTC
"If I enter text into the summary field and then hit "show preview" the summary text vanishes."

This only applies when JS is turned off. (Else the preview is loaded using Ajax and the original form is never replaced in the browser.)

How to reproduce:
1. Turn off JavaScript in the browser.
2. 'Edit with form' some page containing a summary input.
3. Insert text into the summary line.
4. Hit 'Preview'.

Result: No text in the summary line of the form.
Expected: Text as inserted in step 3.

The problem is that, although values for standard inputs are sent in the preview request, they are not included in the form html.

SFFormUtils::summaryInputHTML and the other ...InputHTML methods need to be fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links