Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#3580 closed defect (fixed)

TooltipDialog: trigger from DropDownButton

Reported by: bill Owned by: Adam Peller
Priority: high Milestone: 0.9beta
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Make DropDownButton? show/hide the TooltipDialog?, so user can do

  <div dojoType=dijit.form.DropDownButton>
    <span>Login</span>
    <div dojoType=dijit.TooltipDialog>
       <form>...</form>
    </div>
</div>

Actually, I'd like for links to be able to show drop down dialogs too, so I guess we need to refactor the classes some to allow this too.

Eventually we want to change Menu, TooltipDialog? etc. so that dijit.util.popup or at least the parent widget (the DropDownButton?) closes them, rather than closing themselves, but I guess that's a separate issue.

Change History (8)

comment:1 Changed 12 years ago by bill

Description: modified (diff)

comment:2 Changed 12 years ago by bill

Owner: changed from bill to Adam Peller

comment:3 Changed 12 years ago by Adam Peller

(In [9425]) Add TooltipDialog? to Toolbar test. Refs #3580

comment:4 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [9440]) Make TooltipDialog? be triggered by DropDownButton?. Fixes #3580

comment:5 Changed 12 years ago by bill

(In [9442]) Use <div> rather than <button> for DropDownButton/Combobutton?, because it's weird to put a menu inside a button. Refs #3580.

comment:6 Changed 12 years ago by Adam Peller

(In [9449]) Update examples for dijit. Refs #3580

comment:7 Changed 12 years ago by bill

(In [9556]) Put back some lines commented out in [9449] with comment; refs #3580.

comment:8 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.