Opened 12 years ago

Last modified 12 years ago

#9121 closed defect

Dialog: downloads href content twice — at Version 2

Reported by: anthonywatson Owned by: bill
Priority: high Milestone: 1.4
Component: Dijit Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

I recently changed from Dojo 1.2.3 to 1.3. I have a dijit.Dialog defined in markup on my page and I am using the href attribute. Using the Firebug console, I call myDialog.refresh() and I can see that an HTTP GET is happening to download the content for the Dialog. The problem is, when I call myDialog.show(), I can see the HTTP GET is happening again even though the content was already downloaded when I called refresh(). When I revert back to Dojo 1.2.3, I only see one HTTP GET for refresh() and I do not see a second HTTP GET when I call show(). I am not sure if the problem is with Dialog or ContentPane.

Change History (3)

Changed 12 years ago by anthonywatson

Attachment: dojoDialog.html added

comment:1 Changed 12 years ago by anthonywatson

I uploaded a sample HTML file that demonstrates the problem but to use it you will need to change the href of the dialog before testing it.

comment:2 Changed 12 years ago by bill

Component: GeneralDijit
Description: modified (diff)
Milestone: tbd1.4
Owner: changed from anonymous to bill
Status: newassigned
Summary: Dialog Downloads Href Content TwiceDialog: downloads href content twice

OK, I'll take a look, may be related to #8969.

Note: See TracTickets for help on using tickets.