Ticket #5877 (closed bug: fixed)
Dialog: when using the title attribute, the title option should be updated
| Reported by: | jokerx | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.8.5 |
| Component: | ui.dialog | Version: | 1.8.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description (last modified by scott.gonzalez) (diff)
{{{<div id="example" title="example">Example</div> $("#example").dialog() $("#example").dialog("option","title")return empty}}}
When you call a dialog from a element have attribute title,title value don't set this.originalTitle = this.element.attr('title'); I fix it by add more code this.options.title=this.options.title||this.element.attr('title')
Change History
comment:1 Changed 3 years ago by scott.gonzalez
- Description modified (diff)
- Summary changed from Title dialog return empty if use attribute title to Dialog: when using the title attribute, the title option should be updated
comment:2 Changed 3 years ago by scott.gonzalez
- Status changed from new to closed
- Resolution set to fixed
- Milestone changed from TBD to 1.9
Fixed in 79ee6f0.
comment:4 Changed 2 years ago by Scott González
Dialog: When using the title attribute, update the title option. Fixes #5877 - Dialog: when using the title attribute, the title option should be updated.
Changeset: 79ee6f0d7b94b71d89f30019e66a1746696d5608
Note: See
TracTickets for help on using
tickets.

