[richfaces-svn-commits] JBoss Rich Faces SVN: r5646 - trunk/sandbox/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Fri Jan 25 13:32:21 EST 2008
Author: andrei_exadel
Date: 2008-01-25 13:32:21 -0500 (Fri, 25 Jan 2008)
New Revision: 5646
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-01-25 18:22:06 UTC (rev 5645)
+++ trunk/sandbox/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js 2008-01-25 18:32:21 UTC (rev 5646)
@@ -97,10 +97,13 @@
},
getContext: function () {
var context = ProgressBar.Pollers[this.id]['context'];
+ if (!context) { context = {}; }
context['minValue'] = ProgressBar.Pollers[this.id]['minValue'];
context['maxValue'] = ProgressBar.Pollers[this.id]['maxValue'];
context['value'] = (this.value ? this.value : this.getValue());
- context[ProgressBar.Pollers[this.id]['progressVar']] = context['value'];
+ if (ProgressBar.Pollers[this.id]['progressVar']) {
+ context[ProgressBar.Pollers[this.id]['progressVar']] = context['value'];
+ }
return context;
},
renderLabel: function () {
More information about the richfaces-svn-commits
mailing list