Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#3259 closed bug (fixed)

Title of dialogs

Reported by: skorpan Owned by: Scott González
Priority: major Milestone: 1.6rc1
Component: ui.dialog Version: 1.6b
Keywords: Cc:
Blocked by: Blocking:

Description

(I thought I had already filed a ticket about this, but I can't find it, so here it goes...)

When using a title from an HTML element which you turn into a dialog, the title is shown when you hover the dialog with the mouse, as this is standard browser behavior.

E.g. <div title="hello">Contents</div> is nicely wrapped up into a pretty dialog, but when you hover the div with the mouse, a tooltip with the title is shown. The solution to this is:

  1. If the user hasn't provided a title through JavaScript...
  2. ...and the user HAS provided a title through the HTML element...
  3. Save the title attribute and remove it from the element...
  4. Show the dialog.

Change History (4)

comment:1 Changed 9 years ago by skorpan

Sorry, I accidentally set the component to ui.core, but it should be ui.dialog.

comment:2 Changed 9 years ago by paul

Component: ui.coreui.dialog
Owner: changed from paul to scott.gonzalez

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

Milestone: TBD1.6
Resolution: fixed
Status: newclosed

Fixed in [649].

comment:4 Changed 8 years ago by rdworth

Milestone: 1.61.6rc1
Note: See TracTickets for help on using tickets.