Ticket #5742 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

Dialog: Form field with `name="title"` moved to title area

Reported by: Ben Blank Owned by:
Priority: minor Milestone: 1.8.3
Component: ui.dialog Version: 1.8.2
Keywords: title, form Cc:
Blocking: Blocked by:

Description

When creating a dialog from a form which contains an <input> element with name="title" and providing neither a title: option to .dialog() nor a title= attribute on the form, the input element is moved into the dialog's title area.

Observed on FF/Win 3.6.3, simple test case attached.

Attachments

jqueryui-dialog-title-field-bug.html Download (888 bytes) - added by Ben Blank 4 years ago.

Change History

Changed 4 years ago by Ben Blank

comment:1 Changed 4 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from TBD to 1.9

Fixed in  2c7a9e9.

comment:2 Changed 4 years ago by scott.gonzalez

  • Summary changed from Form field with `name="title"` moved to title area to Dialog: Form field with `name="title"` moved to title area

comment:3 Changed 4 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.3

comment:4 Changed 3 years ago by Scott González

Dialog: Verify that we get a string back from .attr( "title" ) before using the return value. Fixes #5742 - Form field with name="title" moved to title area.

Changeset: 2c7a9e9ff3540365254ee1b9b3113e6c2ad9f5f3

Note: See TracTickets for help on using tickets.