Bustage fix for bug 442419: allow custom max for progressmeter

This commit is contained in:
Dave Townsend 2008-10-30 12:16:11 +00:00
parent bd835c9f4a
commit baf5e8144e

View File

@ -46,7 +46,7 @@
</property>
<property name="max"
onget="return this.getAttribute('max') || '100';"
onset="this.setAttribute("max", isNaN(val) ? 100 : Math.max(val, 1);
onset="this.setAttribute('max', isNaN(val) ? 100 : Math.max(val, 1);
this.value = this.value;
return val;" />