Opened 14 years ago
Closed 14 years ago
#2433 closed defect (invalid)
issue with progress bar
Reported by: | guest | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Widgets | Version: | 0.4.1 |
Keywords: | progress bar widget display startAnimation | Cc: | |
Blocked By: | Blocking: |
Description
On Firefox 1.5.09 : First, the progress bar never displays if I import the dojo.js before configuring the djConfig variable this way :
<script type="text/javascript" src="dojo-0.4.0-ajax/dojo.js"></script> <script type="text/javascript">
var djConfig = {
isDebug: true, baseScriptUri: "dojo-0.4.0-ajax/", debugAtAllCosts: false
};
</script>
If I inverse the two markups, it works !!
Secondly, if I want to start the animation that way :
var bar = dojo.widget.byId("testBar"); bar.startAnimation(); bar.render();
sometimes that works and the animation is ok, but sometimes it doesn't work ?? I deploy my web site with tomcat.
Change History (6)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 Changed 14 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
actually it works with the modification I detailed in #2454 AND the following order :
var bar = dojo.widget.byId("testBar"); bar.render(); bar.startAnimation();
but it doesn't show anything if the bar.render() is at the end. There is really a problem with the retrieving of the width value of the internalProgress and pf the whole component
comment:5 Changed 14 years ago by
Milestone: | → 0.9 |
---|---|
Owner: | changed from bill to Adam Peller |
severity: | critical → normal |
Status: | reopened → new |
comment:6 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please discontinue teseting on dojo.widget.Progress and reopen if a problem can be reproduced with dijit.ProgressBar? with a reproducible test case. Thanks.
IIRC djConfig must be declared before the <script type="text/javascript" src="path/to/dojo.js"></script>
Then put your code in a function:
and use: