mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 377685, return booleans for two disabled properties, r=neil
This commit is contained in:
parent
e5287272a9
commit
befd2dcdf3
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user