Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#15224 closed defect (fixed)

dojox.mobile.ContentPane in SwapView problem

Reported by: youngho Owned by: ykami
Priority: high Milestone: 1.8
Component: DojoX Mobile Version: 1.7.2
Keywords: Cc: Eric Durocher
Blocked By: Blocking:

Description

Hello,

A dojox.mobile.ContentPane? which has 'lazy:true' property in SwapView? container, the content loaded after twice load() call not single load() call.

I attached test case file

Attachments (2)

test_SwapView-slideshow_1.html (4.7 KB) - added by youngho 8 years ago.
_ContentPaneMixin.patch (297 bytes) - added by youngho 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by youngho

Changed 8 years ago by youngho

Attachment: _ContentPaneMixin.patch added

comment:1 Changed 8 years ago by youngho

Hello,

I attached a patch for this problem.

Thanks,

Youngho

comment:2 Changed 8 years ago by ykami

Cc: Eric Durocher added
Milestone: tbd1.8
Priority: undecidedhigh
Status: newassigned

comment:3 Changed 8 years ago by ykami

Resolution: fixed
Status: assignedclosed

In [28419]:

Fixes #15224 Sets the lazy flag to false in load() to ensure that the content is loaded regardless of the lazy flag. Thank you youngho for the patch. !strict

comment:4 Changed 8 years ago by ykami

BTW, dojox.mobile.Carousel has a built-in lazy-load feature. You may want to take a look at it as well.

Note: See TracTickets for help on using tickets.