mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-15 11:47:31 +09:00
Follow up to Issue #1578 - Preprocess the popup binding
This commit is contained in:
parent
564f1026d5
commit
7359f90456
2 changed files with 10 additions and 3 deletions
|
|
@ -25,14 +25,21 @@
|
|||
</getter>
|
||||
</property>
|
||||
|
||||
#ifdef MOZ_WIDGET_GTK
|
||||
<property name="state" readonly="true">
|
||||
<getter><![CDATA[
|
||||
<getter>
|
||||
<![CDATA[
|
||||
if (this.hasAttribute('_moz-nativemenupopupstate'))
|
||||
return this.getAttribute('_moz-nativemenupopupstate');
|
||||
else
|
||||
return this.popupBoxObject.popupState;
|
||||
]]></getter>
|
||||
]]>
|
||||
</getter>
|
||||
</property>
|
||||
#else
|
||||
<property name="state" readonly="true"
|
||||
onget="return this.popupBoxObject.popupState"/>
|
||||
#endif
|
||||
|
||||
<property name="triggerNode" readonly="true"
|
||||
onget="return this.popupBoxObject.triggerNode"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue