Opened 11 years ago

Last modified 11 years ago

#5877 closed bug

Dialog: when using the title attribute, the title option should be updated — at Version 1

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 Scott González)

{{{<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 (1)

comment:1 Changed 11 years ago by Scott González

Description: modified (diff)
Summary: Title dialog return empty if use attribute titleDialog: when using the title attribute, the title option should be updated
Note: See TracTickets for help on using tickets.