Opened 9 years ago

Closed 9 years ago

#11797 closed defect (invalid)

Dialog: closable attribute doesn't work...but draggable does

Reported by: xiaobin Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.5
Keywords: closable Cc:
Blocked By: Blocking:

Description (last modified by bill)

<!-- Attention please if we set the draggable fase,it works...but if we set closable false,it doesn't....so maybe it's the defects of dojo....-->

<div id="dialogOne" dojoType="dijit.Dialog" title="My Dialog Title" draggable=false closable=false>
            <div dojoType="dijit.layout.TabContainer" style="width: 200px; height: 300px;">
                <div dojoType="dijit.layout.ContentPane" title="foo">
                    Content of Tab "foo"
                </div>
                <div dojoType="dijit.layout.ContentPane" title="boo">
                    Hi, I'm Tab "boo"
                </div>
            </div>
</div>

Attachments (2)

closable_defects.png (12.9 KB) - added by xiaobin 9 years ago.
dialog.html (1.1 KB) - added by bill 9 years ago.
test case

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by xiaobin

Attachment: closable_defects.png added

comment:1 Changed 9 years ago by bill

Description: modified (diff)
Summary: dijit.Dialog's closable attribute doesn't work...but draggable doesDialog: closable attribute doesn't work...but draggable does

Hi, what do you mean exactly by "closable doesn't work"? You set closable=false but the dialog still has an [x] icon to close it?

comment:2 Changed 9 years ago by bill

Description: modified (diff)

comment:3 Changed 9 years ago by bill

Resolution: invalid
Status: newclosed

There's no "closable" parameter for dialogs.

Changed 9 years ago by bill

Attachment: dialog.html added

test case

Note: See TracTickets for help on using tickets.