Bug 377685, return booleans for two disabled properties, r=neil

git-svn-id: svn://10.0.0.236/trunk@224665 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
enndeakin%sympatico.ca
2007-04-18 00:00:35 +00:00
parent d0c90e4504
commit 63f9e820b0

View File

@@ -73,11 +73,11 @@
</property>
<property name="increaseDisabled"
onget="return this._increaseButton.getAttribute('disabled');"
onget="return this._increaseButton.getAttribute('disabled') == 'true';"
onset="if (val) this._increaseButton.setAttribute('disabled', 'true');
else this._increaseButton.removeAttribute('disabled'); return val;"/>
<property name="decreaseDisabled"
onget="return this._decreaseButton.getAttribute('disabled');"
onget="return this._decreaseButton.getAttribute('disabled') == 'true';"
onset="if (val) this._decreaseButton.setAttribute('disabled', 'true');
else this._decreaseButton.removeAttribute('disabled'); return val;"/>
</implementation>