#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: | ||
Blocked by: | Blocking: |
Description (last modified by )
{{{<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 (4)
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Summary: | Title dialog return empty if use attribute title → Dialog: when using the title attribute, the title option should be updated |
comment:2 Changed 12 years ago by
Milestone: | TBD → 1.9 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 Changed 12 years ago by
Milestone: | 1.9 → 1.8.5 |
---|
comment:4 Changed 12 years ago by
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.
Fixed in 79ee6f0.