Opened 10 years ago
Closed 10 years ago
#13365 closed defect (fixed)
Allow Multiple dojox.mobile.ProgressIndicator
Reported by: | Ming Zhe Huang | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Mobile | Version: | 1.7.0b1 |
Keywords: | 1.7-mobile | Cc: | |
Blocked By: | Blocking: |
Description
There could be more than one progress indicator, when loading different content in devices with relatively larger screen. However, dojox.mobile.ProgressIndicator? is a singleton. It's supposed to use the following code to get the ProgressIndicator?. var prog = dojox.mobile.ProgressIndicator?.getInstance().
I tried to use the following code to get a ProgressIndicator?, which almost works except that the 2nd time you show a progress indicator, it won't scroll. Please see the attached test case for details. var prog = new dojox.mobile.ProgressIndicator?();
Attachments (1)
Change History (3)
Changed 10 years ago by
Attachment: | test_progress-indicator2.html added |
---|
comment:1 Changed 10 years ago by
Keywords: | 1.7-mobile added |
---|---|
Milestone: | tbd → 1.7 |
Status: | new → assigned |
It is not an expected usage as you know. But I will (only) save your 2nd indicator, since the fix will be trivial. :-)
btw, the attachment was identical to tests/test_progress-indicator.html.
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Test case for new a ProgressIndicator?