Author: andrei_exadel
Date: 2008-02-06 07:59:45 -0500 (Wed, 06 Feb 2008)
New Revision: 5863
Modified:
trunk/sandbox/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js
Log:
Modified:
trunk/sandbox/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js
===================================================================
---
trunk/sandbox/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js 2008-02-06
12:28:21 UTC (rev 5862)
+++
trunk/sandbox/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js 2008-02-06
12:59:45 UTC (rev 5863)
@@ -34,7 +34,7 @@
if (this.state == "progress") {
this.updateComponent(data);
this.renderLabel(data['markup'], data['context']);
- } else if (this.state == "initial" && this.value ==
this.getMinValue()) {
+ } else if (this.state == "initial" && this.value >=
this.getMinValue()) {
this.state = "progress";
this.forceState(this.value, function () { this.poll() }.bind(this));
}
@@ -157,7 +157,7 @@
if (this.markup) {
this.renderLabel(this.markup, this.getContext());
} else {
- this.setLabel("{value}%");
+ //this.setLabel("{value}%");
}
d = $(this.id + ":upload");
Show replies by date