114169 - Use hasAttribute (which will be optimized even further soon) to avoid excessive string copying. r=ben sr=hewitt

113582 - put global xbl widgets on a diet. r=ben sr=hewitt
This commit is contained in:
blakeross%telocity.com 2001-12-08 07:52:11 +00:00
Родитель c892a468bd
Коммит fce01f8274
32 изменённых файлов: 271 добавлений и 336 удалений

Просмотреть файл

@ -57,7 +57,7 @@
<row align="center">
<description>&addressLine1.label;</description>
<menulist id="street.line1" editable="true" autoSelectMenuitem="false"
<menulist id="street.line1" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -67,7 +67,7 @@
<row align="center">
<description>&addressLine2.label;</description>
<menulist id="street.line2" editable="true" autoSelectMenuitem="false"
<menulist id="street.line2" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -77,7 +77,7 @@
<row align="center">
<description>&addressLine3.label;</description>
<menulist id="street.line3" editable="true" autoSelectMenuitem="false"
<menulist id="street.line3" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -87,7 +87,7 @@
<row align="center">
<description>&addressCity.label;</description>
<menulist id="city" editable="true" autoSelectMenuitem="false"
<menulist id="city" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -97,7 +97,7 @@
<row align="center">
<description>&addressState.label;</description>
<menulist id="state" editable="true" autoSelectMenuitem="false"
<menulist id="state" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -108,14 +108,14 @@
<row align="center">
<description>&addressZipcode.label;</description>
<hbox>
<menulist id="postalcode.prefix" editable="true" autoSelectMenuitem="false" flex="55%" width="0"
<menulist id="postalcode.prefix" editable="true" disableautoselect="true" flex="55%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="postalcode.suffix" editable="true" autoSelectMenuitem="false" flex="45%" width="0"
<menulist id="postalcode.suffix" editable="true" disableautoselect="true" flex="45%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -126,7 +126,7 @@
<row align="center">
<description>&addressCountry.label;</description>
<menulist id="country" editable="true" autoSelectMenuitem="false"
<menulist id="country" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -136,7 +136,7 @@
<row align="center">
<description>&email.label;</description>
<menulist id="email" editable="true" autoSelectMenuitem="false"
<menulist id="email" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -146,7 +146,7 @@
<row align="center">
<description>&homepage.label;</description>
<menulist id="uri" editable="true" autoSelectMenuitem="false"
<menulist id="uri" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">

Просмотреть файл

@ -69,7 +69,7 @@
<row hidden="true" align="center">
<description>&concatName.label;</description>
<menulist id="name" editable="true" autoSelectMenuitem="false"
<menulist id="name" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -79,7 +79,7 @@
<row hidden="true" align="center">
<description>&concatZipcode.label;</description>
<menulist id="home.postalcode" editable="true" autoSelectMenuitem="false"
<menulist id="home.postalcode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -89,7 +89,7 @@
<row hidden="true" align="center">
<description>&concatPhone.label;</description>
<menulist id="home.phone" editable="true" autoSelectMenuitem="false"
<menulist id="home.phone" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -99,7 +99,7 @@
<row hidden="true" align="center">
<description>&concatPhonenumber.label;</description>
<menulist id="home.phone.number" editable="true" autoSelectMenuitem="false"
<menulist id="home.phone.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -109,7 +109,7 @@
<row hidden="true" align="center">
<description>&concatAltPhone.label;</description>
<menulist id="home.altphone" editable="true" autoSelectMenuitem="false"
<menulist id="home.altphone" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -119,7 +119,7 @@
<row hidden="true" align="center">
<description>&concatAltPhonenumber.label;</description>
<menulist id="home.altphone.number" editable="true" autoSelectMenuitem="false"
<menulist id="home.altphone.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -129,7 +129,7 @@
<row hidden="true" align="center">
<description>&concatFax.label;</description>
<menulist id="home.fax" editable="true" autoSelectMenuitem="false"
<menulist id="home.fax" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -139,7 +139,7 @@
<row hidden="true" align="center">
<description>&concatFaxnumber.label;</description>
<menulist id="home.fax.number" editable="true" autoSelectMenuitem="false"
<menulist id="home.fax.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -149,7 +149,7 @@
<row hidden="true" align="center">
<description>&concatMobile.label;</description>
<menulist id="home.mobile" editable="true" autoSelectMenuitem="false"
<menulist id="home.mobile" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -159,7 +159,7 @@
<row hidden="true" align="center">
<description>&concatMobilenumber.label;</description>
<menulist id="home.mobile.number" editable="true" autoSelectMenuitem="false"
<menulist id="home.mobile.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -169,7 +169,7 @@
<row hidden="true" align="center">
<description>&concatPager.label;</description>
<menulist id="home.pager" editable="true" autoSelectMenuitem="false"
<menulist id="home.pager" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -179,7 +179,7 @@
<row hidden="true" align="center">
<description>&concatPagernumber.label;</description>
<menulist id="home.pager.number" editable="true" autoSelectMenuitem="false"
<menulist id="home.pager.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -202,7 +202,7 @@
<row hidden="true" align="center">
<description>&concatShiptoName.label;</description>
<menulist id="shipto.name" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.name" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -212,7 +212,7 @@
<row hidden="true" align="center">
<description>&concatShiptoZipcode.label;</description>
<menulist id="shipto.postalcode" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.postalcode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -222,7 +222,7 @@
<row hidden="true" align="center">
<description>&concatShiptoPhone.label;</description>
<menulist id="shipto.phone" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.phone" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -232,7 +232,7 @@
<row hidden="true" align="center">
<description>&concatShiptoPhonenumber.label;</description>
<menulist id="shipto.phone.number" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.phone.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -242,7 +242,7 @@
<row hidden="true" align="center">
<description>&concatShiptoAltPhone.label;</description>
<menulist id="shipto.altphone" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.altphone" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -252,7 +252,7 @@
<row hidden="true" align="center">
<description>&concatShiptoAltPhonenumber.label;</description>
<menulist id="shipto.altphone.number" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.altphone.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -262,7 +262,7 @@
<row hidden="true" align="center">
<description>&concatShiptoFax.label;</description>
<menulist id="shipto.fax" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.fax" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -272,7 +272,7 @@
<row hidden="true" align="center">
<description>&concatShiptoFaxnumber.label;</description>
<menulist id="shipto.fax.number" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.fax.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -282,7 +282,7 @@
<row hidden="true" align="center">
<description>&concatShiptoMobile.label;</description>
<menulist id="shipto.mobile" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.mobile" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -292,7 +292,7 @@
<row hidden="true" align="center">
<description>&concatShiptoMobilenumber.label;</description>
<menulist id="shipto.mobile.number" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.mobile.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -302,7 +302,7 @@
<row hidden="true" align="center">
<description>&concatShiptoPager.label;</description>
<menulist id="shipto.pager" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.pager" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -312,7 +312,7 @@
<row hidden="true" align="center">
<description>&concatShiptoPagernumber.label;</description>
<menulist id="shipto.pager.number" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.pager.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -335,7 +335,7 @@
<row hidden="true" align="center">
<description>&concatBilltoName.label;</description>
<menulist id="billto.name" editable="true" autoSelectMenuitem="false"
<menulist id="billto.name" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -345,7 +345,7 @@
<row hidden="true" align="center">
<description>&concatBilltoZipcode.label;</description>
<menulist id="billto.postalcode" editable="true" autoSelectMenuitem="false"
<menulist id="billto.postalcode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -355,7 +355,7 @@
<row hidden="true" align="center">
<description>&concatBilltoPhone.label;</description>
<menulist id="billto.phone" editable="true" autoSelectMenuitem="false"
<menulist id="billto.phone" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -365,7 +365,7 @@
<row hidden="true" align="center">
<description>&concatBilltoPhonenumber.label;</description>
<menulist id="billto.phone.number" editable="true" autoSelectMenuitem="false"
<menulist id="billto.phone.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -375,7 +375,7 @@
<row hidden="true" align="center">
<description>&concatBilltoAltPhone.label;</description>
<menulist id="billto.altphone" editable="true" autoSelectMenuitem="false"
<menulist id="billto.altphone" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -385,7 +385,7 @@
<row hidden="true" align="center">
<description>&concatBilltoAltPhonenumber.label;</description>
<menulist id="billto.altphone.number" editable="true" autoSelectMenuitem="false"
<menulist id="billto.altphone.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -395,7 +395,7 @@
<row hidden="true" align="center">
<description>&concatBilltoFax.label;</description>
<menulist id="billto.fax" editable="true" autoSelectMenuitem="false"
<menulist id="billto.fax" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -405,7 +405,7 @@
<row hidden="true" align="center">
<description>&concatBilltoFaxnumber.label;</description>
<menulist id="billto.fax.number" editable="true" autoSelectMenuitem="false"
<menulist id="billto.fax.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -415,7 +415,7 @@
<row hidden="true" align="center">
<description>&concatBilltoMobile.label;</description>
<menulist id="billto.mobile" editable="true" autoSelectMenuitem="false"
<menulist id="billto.mobile" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -425,7 +425,7 @@
<row hidden="true" align="center">
<description>&concatBilltoMobilenumber.label;</description>
<menulist id="billto.mobile.number" editable="true" autoSelectMenuitem="false"
<menulist id="billto.mobile.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -435,7 +435,7 @@
<row hidden="true" align="center">
<description>&concatBilltoPager.label;</description>
<menulist id="billto.pager" editable="true" autoSelectMenuitem="false"
<menulist id="billto.pager" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -445,7 +445,7 @@
<row hidden="true" align="center">
<description>&concatBilltoPagernumber.label;</description>
<menulist id="billto.pager.number" editable="true" autoSelectMenuitem="false"
<menulist id="billto.pager.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -468,7 +468,7 @@
<row hidden="true" align="center">
<description>&concatCardExpdate.label;</description>
<menulist id="card.expdate" editable="true" autoSelectMenuitem="false"
<menulist id="card.expdate" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -478,7 +478,7 @@
<row hidden="true" align="center">
<description>&concatSocSec.label;</description>
<menulist id="socsec" editable="true" autoSelectMenuitem="false"
<menulist id="socsec" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -488,7 +488,7 @@
<row hidden="true" align="center">
<description>&concatBdate.label;</description>
<menulist id="bdate" editable="true" autoSelectMenuitem="false"
<menulist id="bdate" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -498,7 +498,7 @@
<row hidden="true" align="center">
<description>&concatAnniv.label;</description>
<menulist id="anniv" editable="true" autoSelectMenuitem="false"
<menulist id="anniv" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>

Просмотреть файл

@ -55,7 +55,7 @@
<row align="center">
<description>&creditType.label;</description>
<menulist id="card.type" editable="true" autoSelectMenuitem="false"
<menulist id="card.type" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -65,7 +65,7 @@
<row align="center">
<description>&creditNumber.label;</description>
<menulist id="card.number" editable="true" autoSelectMenuitem="false"
<menulist id="card.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -77,14 +77,14 @@
<description>&creditExpires.label;</description>
<hbox align="center">
<label value="&creditExpiresMonth.label;" />
<menulist id="card.expdate.month" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
<menulist id="card.expdate.month" editable="true" disableautoselect="true" flex="40%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&creditExpiresYear.label;" />
<menulist id="card.expdate.year" editable="true" autoSelectMenuitem="false" flex="60%" width="0"
<menulist id="card.expdate.year" editable="true" disableautoselect="true" flex="60%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -95,7 +95,7 @@
<row align="center">
<description>&creditName.label;</description>
<menulist id="card.name" editable="true" autoSelectMenuitem="false"
<menulist id="card.name" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>

Просмотреть файл

@ -54,7 +54,7 @@
<row align="center">
<description>&employName.label;</description>
<menulist id="business.companyname" editable="true" autoSelectMenuitem="false"
<menulist id="business.companyname" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -64,7 +64,7 @@
<row align="center">
<description>&employTitle.label;</description>
<menulist id="business.jobtitle" editable="true" autoSelectMenuitem="false"
<menulist id="business.jobtitle" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -74,7 +74,7 @@
<row align="center">
<description>&employDepartment.label;</description>
<menulist id="business.department" editable="true" autoSelectMenuitem="false"
<menulist id="business.department" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>

Просмотреть файл

@ -58,21 +58,21 @@
<row align="center">
<description>&miscSS.label;</description>
<hbox>
<menulist id="socsec.prefix" editable="true" autoSelectMenuitem="false" flex="33%" width="0"
<menulist id="socsec.prefix" editable="true" disableautoselect="true" flex="33%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="socsec.middle" editable="true" autoSelectMenuitem="false" flex="24%" width="0"
<menulist id="socsec.middle" editable="true" disableautoselect="true" flex="24%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="socsec.suffix" editable="true" autoSelectMenuitem="false" flex="43%" width="0"
<menulist id="socsec.suffix" editable="true" disableautoselect="true" flex="43%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -84,7 +84,7 @@
<row align="center">
<description>&miscLicense.label;</description>
<hbox align="center">
<menulist id="license.number" editable="true" autoSelectMenuitem="false" flex="70" width="0"
<menulist id="license.number" editable="true" disableautoselect="true" flex="70" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -92,7 +92,7 @@
</menulist>
<spacer style="width: 5px;"/>
<label value="&miscLicenseState.label;" />
<menulist id="license.state" editable="true" autoSelectMenuitem="false" flex="30" width="0"
<menulist id="license.state" editable="true" disableautoselect="true" flex="30" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -103,7 +103,7 @@
<row align="center">
<description>&miscMaiden.label;</description>
<menulist id="mothersmaidenname" editable="true" autoSelectMenuitem="false"
<menulist id="mothersmaidenname" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -115,21 +115,21 @@
<description>&miscBirthday.label;</description>
<hbox align="center">
<label value="&miscBirthdayMonth.label;" />
<menulist id="bdate.month" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
<menulist id="bdate.month" editable="true" disableautoselect="true" flex="40%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&miscBirthdayDay.label;" />
<menulist id="bdate.day" editable="true" autoSelectMenuitem="false" flex="20%" width="0"
<menulist id="bdate.day" editable="true" disableautoselect="true" flex="20%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&miscBirthdayYear.label;" />
<menulist id="bdate.year" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
<menulist id="bdate.year" editable="true" disableautoselect="true" flex="40%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -142,21 +142,21 @@
<description>&miscAnniv.label;</description>
<hbox align="center">
<label value="&miscAnnivMonth.label;" />
<menulist id="anniv.month" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
<menulist id="anniv.month" editable="true" disableautoselect="true" flex="40%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&miscAnnivDay.label;" />
<menulist id="anniv.day" editable="true" autoSelectMenuitem="false" flex="20%" width="0"
<menulist id="anniv.day" editable="true" disableautoselect="true" flex="20%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&miscAnnivYear.label;" />
<menulist id="anniv.year" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
<menulist id="anniv.year" editable="true" disableautoselect="true" flex="40%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>

Просмотреть файл

@ -55,7 +55,7 @@
<row align="center">
<description>&namePrefix.label;</description>
<menulist id="name.prefix" editable="true" autoSelectMenuitem="false"
<menulist id="name.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -65,7 +65,7 @@
<row align="center">
<description>&nameFirst.label;</description>
<menulist id="name.first" editable="true" autoSelectMenuitem="false"
<menulist id="name.first" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -75,7 +75,7 @@
<row align="center">
<description>&nameMiddle.label;</description>
<menulist id="name.middle" editable="true" autoSelectMenuitem="false"
<menulist id="name.middle" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -85,7 +85,7 @@
<row align="center">
<description>&nameLast.label;</description>
<menulist id="name.last" editable="true" autoSelectMenuitem="false"
<menulist id="name.last" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -95,7 +95,7 @@
<row align="center">
<description>&nameSuffix.label;</description>
<menulist id="name.suffix" editable="true" autoSelectMenuitem="false"
<menulist id="name.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">

Просмотреть файл

@ -66,28 +66,28 @@
<row align="center">
<description>&phoneDay.label;</description>
<label value="("/>
<menulist id="phone.loccode" editable="true" autoSelectMenuitem="false"
<menulist id="phone.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="phone.number.prefix" editable="true" autoSelectMenuitem="false"
<menulist id="phone.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="phone.number.suffix" editable="true" autoSelectMenuitem="false"
<menulist id="phone.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&phoneDayExt.label;" />
<menulist id="phone.extension" editable="true" autoSelectMenuitem="false"
<menulist id="phone.extension" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -98,28 +98,28 @@
<row align="center">
<description>&phoneEve.label;</description>
<label value="("/>
<menulist id="altphone.loccode" editable="true" autoSelectMenuitem="false"
<menulist id="altphone.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="altphone.number.prefix" editable="true" autoSelectMenuitem="false"
<menulist id="altphone.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="altphone.number.suffix" editable="true" autoSelectMenuitem="false"
<menulist id="altphone.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&phoneEveExt.label;" />
<menulist id="altphone.extension" editable="true" autoSelectMenuitem="false"
<menulist id="altphone.extension" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -130,21 +130,21 @@
<row align="center">
<description>&phoneFax.label;</description>
<label value="("/>
<menulist id="fax.loccode" editable="true" autoSelectMenuitem="false"
<menulist id="fax.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="fax.number.prefix" editable="true" autoSelectMenuitem="false"
<menulist id="fax.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="fax.number.suffix" editable="true" autoSelectMenuitem="false"
<menulist id="fax.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -155,21 +155,21 @@
<row align="center">
<description>&phoneCell.label;</description>
<label value="("/>
<menulist id="mobile.loccode" editable="true" autoSelectMenuitem="false"
<menulist id="mobile.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="mobile.number.prefix" editable="true" autoSelectMenuitem="false"
<menulist id="mobile.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="mobile.number.suffix" editable="true" autoSelectMenuitem="false"
<menulist id="mobile.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -180,21 +180,21 @@
<row align="center">
<description>&phonePager.label;</description>
<label value="("/>
<menulist id="pager.loccode" editable="true" autoSelectMenuitem="false"
<menulist id="pager.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="pager.number.prefix" editable="true" autoSelectMenuitem="false"
<menulist id="pager.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="pager.number.suffix" editable="true" autoSelectMenuitem="false"
<menulist id="pager.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>

Просмотреть файл

@ -60,7 +60,7 @@
menuItem.setAttribute("len","0");
menuList.setAttribute("id", schema);
menuList.setAttribute("editable", "true");
menuList.setAttribute("autoSelectMenuitem", "false");
menuList.setAttribute("disableautoselect", "true");
menuList.setAttribute("onchange", "Append(this)");
menuList.setAttribute("onmousedown", "Append(this)");
text1.setAttribute("value", schema.substring(0, colonIndex));

Просмотреть файл

@ -57,7 +57,7 @@
<row align="center">
<description>&addressLine1.label;</description>
<menulist id="street.line1" editable="true" autoSelectMenuitem="false"
<menulist id="street.line1" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -67,7 +67,7 @@
<row align="center">
<description>&addressLine2.label;</description>
<menulist id="street.line2" editable="true" autoSelectMenuitem="false"
<menulist id="street.line2" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -77,7 +77,7 @@
<row align="center">
<description>&addressLine3.label;</description>
<menulist id="street.line3" editable="true" autoSelectMenuitem="false"
<menulist id="street.line3" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -87,7 +87,7 @@
<row align="center">
<description>&addressCity.label;</description>
<menulist id="city" editable="true" autoSelectMenuitem="false"
<menulist id="city" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -97,7 +97,7 @@
<row align="center">
<description>&addressState.label;</description>
<menulist id="state" editable="true" autoSelectMenuitem="false"
<menulist id="state" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -108,14 +108,14 @@
<row align="center">
<description>&addressZipcode.label;</description>
<hbox>
<menulist id="postalcode.prefix" editable="true" autoSelectMenuitem="false" flex="55%" width="0"
<menulist id="postalcode.prefix" editable="true" disableautoselect="true" flex="55%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="postalcode.suffix" editable="true" autoSelectMenuitem="false" flex="45%" width="0"
<menulist id="postalcode.suffix" editable="true" disableautoselect="true" flex="45%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -126,7 +126,7 @@
<row align="center">
<description>&addressCountry.label;</description>
<menulist id="country" editable="true" autoSelectMenuitem="false"
<menulist id="country" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -136,7 +136,7 @@
<row align="center">
<description>&email.label;</description>
<menulist id="email" editable="true" autoSelectMenuitem="false"
<menulist id="email" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -146,7 +146,7 @@
<row align="center">
<description>&homepage.label;</description>
<menulist id="uri" editable="true" autoSelectMenuitem="false"
<menulist id="uri" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">

Просмотреть файл

@ -69,7 +69,7 @@
<row hidden="true" align="center">
<description>&concatName.label;</description>
<menulist id="name" editable="true" autoSelectMenuitem="false"
<menulist id="name" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -79,7 +79,7 @@
<row hidden="true" align="center">
<description>&concatZipcode.label;</description>
<menulist id="home.postalcode" editable="true" autoSelectMenuitem="false"
<menulist id="home.postalcode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -89,7 +89,7 @@
<row hidden="true" align="center">
<description>&concatPhone.label;</description>
<menulist id="home.phone" editable="true" autoSelectMenuitem="false"
<menulist id="home.phone" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -99,7 +99,7 @@
<row hidden="true" align="center">
<description>&concatPhonenumber.label;</description>
<menulist id="home.phone.number" editable="true" autoSelectMenuitem="false"
<menulist id="home.phone.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -109,7 +109,7 @@
<row hidden="true" align="center">
<description>&concatAltPhone.label;</description>
<menulist id="home.altphone" editable="true" autoSelectMenuitem="false"
<menulist id="home.altphone" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -119,7 +119,7 @@
<row hidden="true" align="center">
<description>&concatAltPhonenumber.label;</description>
<menulist id="home.altphone.number" editable="true" autoSelectMenuitem="false"
<menulist id="home.altphone.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -129,7 +129,7 @@
<row hidden="true" align="center">
<description>&concatFax.label;</description>
<menulist id="home.fax" editable="true" autoSelectMenuitem="false"
<menulist id="home.fax" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -139,7 +139,7 @@
<row hidden="true" align="center">
<description>&concatFaxnumber.label;</description>
<menulist id="home.fax.number" editable="true" autoSelectMenuitem="false"
<menulist id="home.fax.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -149,7 +149,7 @@
<row hidden="true" align="center">
<description>&concatMobile.label;</description>
<menulist id="home.mobile" editable="true" autoSelectMenuitem="false"
<menulist id="home.mobile" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -159,7 +159,7 @@
<row hidden="true" align="center">
<description>&concatMobilenumber.label;</description>
<menulist id="home.mobile.number" editable="true" autoSelectMenuitem="false"
<menulist id="home.mobile.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -169,7 +169,7 @@
<row hidden="true" align="center">
<description>&concatPager.label;</description>
<menulist id="home.pager" editable="true" autoSelectMenuitem="false"
<menulist id="home.pager" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -179,7 +179,7 @@
<row hidden="true" align="center">
<description>&concatPagernumber.label;</description>
<menulist id="home.pager.number" editable="true" autoSelectMenuitem="false"
<menulist id="home.pager.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -202,7 +202,7 @@
<row hidden="true" align="center">
<description>&concatShiptoName.label;</description>
<menulist id="shipto.name" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.name" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -212,7 +212,7 @@
<row hidden="true" align="center">
<description>&concatShiptoZipcode.label;</description>
<menulist id="shipto.postalcode" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.postalcode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -222,7 +222,7 @@
<row hidden="true" align="center">
<description>&concatShiptoPhone.label;</description>
<menulist id="shipto.phone" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.phone" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -232,7 +232,7 @@
<row hidden="true" align="center">
<description>&concatShiptoPhonenumber.label;</description>
<menulist id="shipto.phone.number" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.phone.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -242,7 +242,7 @@
<row hidden="true" align="center">
<description>&concatShiptoAltPhone.label;</description>
<menulist id="shipto.altphone" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.altphone" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -252,7 +252,7 @@
<row hidden="true" align="center">
<description>&concatShiptoAltPhonenumber.label;</description>
<menulist id="shipto.altphone.number" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.altphone.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -262,7 +262,7 @@
<row hidden="true" align="center">
<description>&concatShiptoFax.label;</description>
<menulist id="shipto.fax" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.fax" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -272,7 +272,7 @@
<row hidden="true" align="center">
<description>&concatShiptoFaxnumber.label;</description>
<menulist id="shipto.fax.number" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.fax.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -282,7 +282,7 @@
<row hidden="true" align="center">
<description>&concatShiptoMobile.label;</description>
<menulist id="shipto.mobile" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.mobile" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -292,7 +292,7 @@
<row hidden="true" align="center">
<description>&concatShiptoMobilenumber.label;</description>
<menulist id="shipto.mobile.number" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.mobile.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -302,7 +302,7 @@
<row hidden="true" align="center">
<description>&concatShiptoPager.label;</description>
<menulist id="shipto.pager" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.pager" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -312,7 +312,7 @@
<row hidden="true" align="center">
<description>&concatShiptoPagernumber.label;</description>
<menulist id="shipto.pager.number" editable="true" autoSelectMenuitem="false"
<menulist id="shipto.pager.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -335,7 +335,7 @@
<row hidden="true" align="center">
<description>&concatBilltoName.label;</description>
<menulist id="billto.name" editable="true" autoSelectMenuitem="false"
<menulist id="billto.name" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -345,7 +345,7 @@
<row hidden="true" align="center">
<description>&concatBilltoZipcode.label;</description>
<menulist id="billto.postalcode" editable="true" autoSelectMenuitem="false"
<menulist id="billto.postalcode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -355,7 +355,7 @@
<row hidden="true" align="center">
<description>&concatBilltoPhone.label;</description>
<menulist id="billto.phone" editable="true" autoSelectMenuitem="false"
<menulist id="billto.phone" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -365,7 +365,7 @@
<row hidden="true" align="center">
<description>&concatBilltoPhonenumber.label;</description>
<menulist id="billto.phone.number" editable="true" autoSelectMenuitem="false"
<menulist id="billto.phone.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -375,7 +375,7 @@
<row hidden="true" align="center">
<description>&concatBilltoAltPhone.label;</description>
<menulist id="billto.altphone" editable="true" autoSelectMenuitem="false"
<menulist id="billto.altphone" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -385,7 +385,7 @@
<row hidden="true" align="center">
<description>&concatBilltoAltPhonenumber.label;</description>
<menulist id="billto.altphone.number" editable="true" autoSelectMenuitem="false"
<menulist id="billto.altphone.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -395,7 +395,7 @@
<row hidden="true" align="center">
<description>&concatBilltoFax.label;</description>
<menulist id="billto.fax" editable="true" autoSelectMenuitem="false"
<menulist id="billto.fax" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -405,7 +405,7 @@
<row hidden="true" align="center">
<description>&concatBilltoFaxnumber.label;</description>
<menulist id="billto.fax.number" editable="true" autoSelectMenuitem="false"
<menulist id="billto.fax.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -415,7 +415,7 @@
<row hidden="true" align="center">
<description>&concatBilltoMobile.label;</description>
<menulist id="billto.mobile" editable="true" autoSelectMenuitem="false"
<menulist id="billto.mobile" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -425,7 +425,7 @@
<row hidden="true" align="center">
<description>&concatBilltoMobilenumber.label;</description>
<menulist id="billto.mobile.number" editable="true" autoSelectMenuitem="false"
<menulist id="billto.mobile.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -435,7 +435,7 @@
<row hidden="true" align="center">
<description>&concatBilltoPager.label;</description>
<menulist id="billto.pager" editable="true" autoSelectMenuitem="false"
<menulist id="billto.pager" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -445,7 +445,7 @@
<row hidden="true" align="center">
<description>&concatBilltoPagernumber.label;</description>
<menulist id="billto.pager.number" editable="true" autoSelectMenuitem="false"
<menulist id="billto.pager.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -468,7 +468,7 @@
<row hidden="true" align="center">
<description>&concatCardExpdate.label;</description>
<menulist id="card.expdate" editable="true" autoSelectMenuitem="false"
<menulist id="card.expdate" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -478,7 +478,7 @@
<row hidden="true" align="center">
<description>&concatSocSec.label;</description>
<menulist id="socsec" editable="true" autoSelectMenuitem="false"
<menulist id="socsec" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -488,7 +488,7 @@
<row hidden="true" align="center">
<description>&concatBdate.label;</description>
<menulist id="bdate" editable="true" autoSelectMenuitem="false"
<menulist id="bdate" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -498,7 +498,7 @@
<row hidden="true" align="center">
<description>&concatAnniv.label;</description>
<menulist id="anniv" editable="true" autoSelectMenuitem="false"
<menulist id="anniv" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>

Просмотреть файл

@ -55,7 +55,7 @@
<row align="center">
<description>&creditType.label;</description>
<menulist id="card.type" editable="true" autoSelectMenuitem="false"
<menulist id="card.type" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -65,7 +65,7 @@
<row align="center">
<description>&creditNumber.label;</description>
<menulist id="card.number" editable="true" autoSelectMenuitem="false"
<menulist id="card.number" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -77,14 +77,14 @@
<description>&creditExpires.label;</description>
<hbox align="center">
<label value="&creditExpiresMonth.label;" />
<menulist id="card.expdate.month" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
<menulist id="card.expdate.month" editable="true" disableautoselect="true" flex="40%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&creditExpiresYear.label;" />
<menulist id="card.expdate.year" editable="true" autoSelectMenuitem="false" flex="60%" width="0"
<menulist id="card.expdate.year" editable="true" disableautoselect="true" flex="60%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -95,7 +95,7 @@
<row align="center">
<description>&creditName.label;</description>
<menulist id="card.name" editable="true" autoSelectMenuitem="false"
<menulist id="card.name" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>

Просмотреть файл

@ -54,7 +54,7 @@
<row align="center">
<description>&employName.label;</description>
<menulist id="business.companyname" editable="true" autoSelectMenuitem="false"
<menulist id="business.companyname" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -64,7 +64,7 @@
<row align="center">
<description>&employTitle.label;</description>
<menulist id="business.jobtitle" editable="true" autoSelectMenuitem="false"
<menulist id="business.jobtitle" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -74,7 +74,7 @@
<row align="center">
<description>&employDepartment.label;</description>
<menulist id="business.department" editable="true" autoSelectMenuitem="false"
<menulist id="business.department" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>

Просмотреть файл

@ -58,21 +58,21 @@
<row align="center">
<description>&miscSS.label;</description>
<hbox>
<menulist id="socsec.prefix" editable="true" autoSelectMenuitem="false" flex="33%" width="0"
<menulist id="socsec.prefix" editable="true" disableautoselect="true" flex="33%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="socsec.middle" editable="true" autoSelectMenuitem="false" flex="24%" width="0"
<menulist id="socsec.middle" editable="true" disableautoselect="true" flex="24%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="socsec.suffix" editable="true" autoSelectMenuitem="false" flex="43%" width="0"
<menulist id="socsec.suffix" editable="true" disableautoselect="true" flex="43%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -84,7 +84,7 @@
<row align="center">
<description>&miscLicense.label;</description>
<hbox align="center">
<menulist id="license.number" editable="true" autoSelectMenuitem="false" flex="70" width="0"
<menulist id="license.number" editable="true" disableautoselect="true" flex="70" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -92,7 +92,7 @@
</menulist>
<spacer style="width: 5px;"/>
<label value="&miscLicenseState.label;" />
<menulist id="license.state" editable="true" autoSelectMenuitem="false" flex="30" width="0"
<menulist id="license.state" editable="true" disableautoselect="true" flex="30" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -103,7 +103,7 @@
<row align="center">
<description>&miscMaiden.label;</description>
<menulist id="mothersmaidenname" editable="true" autoSelectMenuitem="false"
<menulist id="mothersmaidenname" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -115,21 +115,21 @@
<description>&miscBirthday.label;</description>
<hbox align="center">
<label value="&miscBirthdayMonth.label;" />
<menulist id="bdate.month" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
<menulist id="bdate.month" editable="true" disableautoselect="true" flex="40%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&miscBirthdayDay.label;" />
<menulist id="bdate.day" editable="true" autoSelectMenuitem="false" flex="20%" width="0"
<menulist id="bdate.day" editable="true" disableautoselect="true" flex="20%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&miscBirthdayYear.label;" />
<menulist id="bdate.year" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
<menulist id="bdate.year" editable="true" disableautoselect="true" flex="40%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -142,21 +142,21 @@
<description>&miscAnniv.label;</description>
<hbox align="center">
<label value="&miscAnnivMonth.label;" />
<menulist id="anniv.month" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
<menulist id="anniv.month" editable="true" disableautoselect="true" flex="40%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&miscAnnivDay.label;" />
<menulist id="anniv.day" editable="true" autoSelectMenuitem="false" flex="20%" width="0"
<menulist id="anniv.day" editable="true" disableautoselect="true" flex="20%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&miscAnnivYear.label;" />
<menulist id="anniv.year" editable="true" autoSelectMenuitem="false" flex="40%" width="0"
<menulist id="anniv.year" editable="true" disableautoselect="true" flex="40%" width="0"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>

Просмотреть файл

@ -55,7 +55,7 @@
<row align="center">
<description>&namePrefix.label;</description>
<menulist id="name.prefix" editable="true" autoSelectMenuitem="false"
<menulist id="name.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -65,7 +65,7 @@
<row align="center">
<description>&nameFirst.label;</description>
<menulist id="name.first" editable="true" autoSelectMenuitem="false"
<menulist id="name.first" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -75,7 +75,7 @@
<row align="center">
<description>&nameMiddle.label;</description>
<menulist id="name.middle" editable="true" autoSelectMenuitem="false"
<menulist id="name.middle" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -85,7 +85,7 @@
<row align="center">
<description>&nameLast.label;</description>
<menulist id="name.last" editable="true" autoSelectMenuitem="false"
<menulist id="name.last" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -95,7 +95,7 @@
<row align="center">
<description>&nameSuffix.label;</description>
<menulist id="name.suffix" editable="true" autoSelectMenuitem="false"
<menulist id="name.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">

Просмотреть файл

@ -66,28 +66,28 @@
<row align="center">
<description>&phoneDay.label;</description>
<label value="("/>
<menulist id="phone.loccode" editable="true" autoSelectMenuitem="false"
<menulist id="phone.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="phone.number.prefix" editable="true" autoSelectMenuitem="false"
<menulist id="phone.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="phone.number.suffix" editable="true" autoSelectMenuitem="false"
<menulist id="phone.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&phoneDayExt.label;" />
<menulist id="phone.extension" editable="true" autoSelectMenuitem="false"
<menulist id="phone.extension" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -98,28 +98,28 @@
<row align="center">
<description>&phoneEve.label;</description>
<label value="("/>
<menulist id="altphone.loccode" editable="true" autoSelectMenuitem="false"
<menulist id="altphone.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="altphone.number.prefix" editable="true" autoSelectMenuitem="false"
<menulist id="altphone.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="altphone.number.suffix" editable="true" autoSelectMenuitem="false"
<menulist id="altphone.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="&phoneEveExt.label;" />
<menulist id="altphone.extension" editable="true" autoSelectMenuitem="false"
<menulist id="altphone.extension" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -130,21 +130,21 @@
<row align="center">
<description>&phoneFax.label;</description>
<label value="("/>
<menulist id="fax.loccode" editable="true" autoSelectMenuitem="false"
<menulist id="fax.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="fax.number.prefix" editable="true" autoSelectMenuitem="false"
<menulist id="fax.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="fax.number.suffix" editable="true" autoSelectMenuitem="false"
<menulist id="fax.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -155,21 +155,21 @@
<row align="center">
<description>&phoneCell.label;</description>
<label value="("/>
<menulist id="mobile.loccode" editable="true" autoSelectMenuitem="false"
<menulist id="mobile.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="mobile.number.prefix" editable="true" autoSelectMenuitem="false"
<menulist id="mobile.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="mobile.number.suffix" editable="true" autoSelectMenuitem="false"
<menulist id="mobile.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
@ -180,21 +180,21 @@
<row align="center">
<description>&phonePager.label;</description>
<label value="("/>
<menulist id="pager.loccode" editable="true" autoSelectMenuitem="false"
<menulist id="pager.loccode" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value=")"/>
<menulist id="pager.number.prefix" editable="true" autoSelectMenuitem="false"
<menulist id="pager.number.prefix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>
</menupopup>
</menulist>
<label value="__"/>
<menulist id="pager.number.suffix" editable="true" autoSelectMenuitem="false"
<menulist id="pager.number.suffix" editable="true" disableautoselect="true"
onchange="Append(this)">
<menupopup onpopupshowing="Append(this.parentNode)">
<menuitem label="" len="0"/>

Просмотреть файл

@ -60,7 +60,7 @@
menuItem.setAttribute("len","0");
menuList.setAttribute("id", schema);
menuList.setAttribute("editable", "true");
menuList.setAttribute("autoSelectMenuitem", "false");
menuList.setAttribute("disableautoselect", "true");
menuList.setAttribute("onchange", "Append(this)");
menuList.setAttribute("onmousedown", "Append(this)");
text1.setAttribute("value", schema.substring(0, colonIndex));

Просмотреть файл

@ -1,26 +0,0 @@
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
box[type="location-field"]
{
-moz-binding : url("chrome://navigator/content/navWidgetBindings.xml#urlbar");
}
menulist[editable="true"]
{
-moz-binding : url("chrome://navigator/content/navWidgetBindings.xml#menulist-editable");
}
.location-field
{
-moz-binding : url("chrome://navigator/content/navWidgetBindings.xml#urlbar-menulist");
-moz-user-focus : ignore;
}
/* XXX factor me */
html|*.textbox-input
{
-moz-user-focus : normal;
}

Просмотреть файл

@ -38,7 +38,6 @@
* ***** END LICENSE BLOCK ***** */
const XREMOTESERVICE_CONTRACTID = "@mozilla.org/browser/xremoteservice;1";
var gURLBar = null;
var gProxyButton = null;
var gProxyFavIcon = null;
@ -194,14 +193,20 @@ function UpdateBackForwardButtons()
// get inherited into anonymous content, broadcast to other widgets, etc.!
// Don't do it if the value hasn't changed! - dwh
var backDisabled = (backBroadcaster.getAttribute("disabled") == "true");
var forwardDisabled = (forwardBroadcaster.getAttribute("disabled") == "true");
if (backDisabled == webNavigation.canGoBack)
backBroadcaster.setAttribute("disabled", !backDisabled);
if (forwardDisabled == webNavigation.canGoForward)
forwardBroadcaster.setAttribute("disabled", !forwardDisabled);
var backDisabled = backBroadcaster.hasAttribute("disabled");
var forwardDisabled = forwardBroadcaster.hasAttribute("disabled");
if (backDisabled == webNavigation.canGoBack) {
if (backDisabled)
backBroadcaster.removeAttribute("disabled");
else
backBroadcaster.setAttribute("disabled", true);
}
if (forwardDisabled == webNavigation.canGoForward) {
if (forwardDisabled)
forwardBroadcaster.removeAttribute("disabled");
else
forwardBroadcaster.setAttribute("disabled", true);
}
}
@ -1367,14 +1372,14 @@ function applyTheme(themeName)
message = message.replace(/%brand%/g, gBrandBundle.getString("brandShortName"));
if (promptService.confirm(window, title, message)){
var inUse = chromeRegistry.isSkinSelected(themeName.getAttribute("name"), true);
var inUse = chromeRegistry.isSkinSelected(name, true);
chromeRegistry.uninstallSkin( themeName.getAttribute("name"), true );
chromeRegistry.uninstallSkin( name, true );
// XXX - this sucks and should only be temporary.
str = Components.classes["@mozilla.org/supports-wstring;1"]
.createInstance(Components.interfaces.nsISupportsWString);
str.data = true;
pref.setComplexValue("general.skins.removelist." + themeName.getAttribute("name"),
pref.setComplexValue("general.skins.removelist." + name,
Components.interfaces.nsISupportsWString, str);
if (inUse)
@ -1389,7 +1394,7 @@ function applyTheme(themeName)
// hacking around it yet again
str = Components.classes["@mozilla.org/supports-wstring;1"]
.createInstance(Components.interfaces.nsISupportsWString);
str.data = themeName.getAttribute("name");
str.data = name;
pref.setComplexValue("general.skins.selectedSkin",
Components.interfaces.nsISupportsWString, str);
@ -1475,7 +1480,7 @@ function handleURLBarRevert()
// don't revert to last valid url unless page is NOT loading
// and user is NOT key-scrolling through autocomplete list
if (!throbberElement.getAttribute("busy") && !isScrolling) {
if (!throbberElement.hasAttribute("busy") && !isScrolling) {
if (url != "about:blank") {
gURLBar.value = url;
gURLBar.select();
@ -1566,8 +1571,7 @@ function updateToolbarStates(toolbarMenuElt)
return;
}
var mainWindow = document.getElementById("main-window");
var chromeHidden = mainWindow.getAttribute("chromehidden");
if (chromeHidden) {
if (mainWindow.hasAttribute("chromehidden")) {
gHaveUpdatedToolbarState = true;
var i;
for (i = 0; i < toolbarMenuElt.childNodes.length; ++i)

Просмотреть файл

@ -245,7 +245,7 @@
</method>
<constructor>
if (this.getAttribute("disableHistory") != "true") {
if (!this.hasAttribute("disableHistory")) {
// wire up session history
// XXXdwh On a dynamic skin switch, we should be checking our box object to obtain
// the session history.

Просмотреть файл

@ -43,10 +43,11 @@
onset="this.setAttribute('group', val); return val;"/>
<property name="open"
onget="return this.getAttribute('open') == 'true';"
onset="this.setAttribute('open', val); return val;"/>
onget="return this.hasAttribute('open');"
onset="if (val) this.setAttribute('open', 'true');
else this.removeAttribute('open'); return val;"/>
<property name="checked" onget="return this.getAttribute('checked') == 'true';">
<property name="checked" onget="return this.hasAttribute('checked');">
<setter><![CDATA[
if (this.type == "checkbox") {
this.checkState = val ? 1 : 0;

Просмотреть файл

@ -34,17 +34,14 @@
<property name="checked" onset="if (val) this.setAttribute('checked', 'true');
else this.removeAttribute('checked');
return val;"
onget="var v = this.getAttribute('checked');
if (v == 'true') return true; return false;"/>
onget="this.hasAttribute('checked');"/>
</implementation>
<handlers>
<handler event="click" button="0" action="if (!this.disabled) this.checked = !this.checked;"/>
<handler event="click" button="0" action="this.checked = !this.checked;"/>
<handler event="keypress" key=" ">
<![CDATA[
if (!this.disabled) {
this.checked = !this.checked;
this.doCommand();
}
this.checked = !this.checked;
this.doCommand();
]]>
</handler>
</handlers>

Просмотреть файл

@ -238,7 +238,7 @@
// only accept dialog if accept button is the default
var btn = this.getButton("accept");
if (btn && btn.getAttribute("default") == "true")
if (btn && btn.hasAttribute("default"))
this.acceptDialog();
]]>
</body>

Просмотреть файл

@ -14,8 +14,7 @@
<property name="disabled" onset="if (val) this.setAttribute('disabled', 'true');
else this.removeAttribute('disabled');
return val;"
onget="var v = this.getAttribute('disabled');
if (v == 'true') return true; return false;"/>
onget="return this.hasAttribute('disabled');"/>
<property name="image" onset="return this.setAttribute('image',val);"
onget="return this.getAttribute('image');"/>
<property name="accessKey" onset="return this.setAttribute('accesskey',val);"
@ -30,16 +29,6 @@
</implementation>
</binding>
<binding id="text-label">
<handlers>
<handler event="click" action="var forElementID = this.getAttribute('control');
if (forElementID)
var forElement = document.getElementById(forElementID);
if(forElement)
forElement.focus();
"/>
</handlers>
</binding>
<!--
Inline Editable UI Element

Просмотреть файл

@ -95,7 +95,7 @@
<property name="disabled" onset="if (val) this.setAttribute('disabled',true);
else this.removeAttribute('disabled');
return val;"
onget="return (this.getAttribute('disabled')=='true');"/>
onget="return this.hasAttribute('disabled');"/>
<field name="selectedInternal">
null
@ -236,17 +236,12 @@
<implementation>
<constructor><![CDATA[
this.setInitialSelection();
// Default behavior is to use _selectInputFieldValueInList()
// to automatically select the inputField.value in the list
if (!this.getAttribute("autoSelectMenuitem"))
this.setAttribute("autoSelectMenuitem", "true");
]]></constructor>
<method name="_selectInputFieldValueInList">
<body>
<![CDATA[
if (this.getAttribute("autoSelectMenuitem") != "true")
if (this.hasAttribute("disableautoselect"))
return "";
// Find and select the menuitem that matches inputField's "value"
@ -358,15 +353,16 @@
]]>
</setter>
</property>
<property name="autoSelectMenuitem"
onset="this.setAttribute('autoSelectMenuitem',val); return val;"
onget="return this.getAttribute('autoSelectMenuitem');"/>
<property name="disableautoselect"
onset="if (val) this.setAttribute('disableautoselect','true');
else this.removeAttribute('disableautoselect'); return val;"
onget="return this.hasAttribute('disableautoselect');"/>
</implementation>
<handlers>
<handler event="focus" phase="capturing">
<![CDATA[
if (this.getAttribute('focused') != 'true')
if (!this.hasAttribute('focused'))
{
this.setAttribute('focused','true');
this.suppressFocusBlur = true;
@ -379,7 +375,7 @@
<handler event="blur" phase="capturing">
<![CDATA[
if (!this.suppressFocusBlur && this.getAttribute('focused') == 'true') {
if (!this.suppressFocusBlur && !this.hasAttribute('focused')) {
this.removeAttribute('focused');
}
]]>
@ -412,7 +408,7 @@
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
"menupopup");
if (popups) {
if (popups[0].getAttribute("open") != "true") {
if (!popups[0].hasAttribute("open")) {
event.preventDefault();
popups[0].openPopup(this, -1, -1, "popup", "bottomleft", "topleft");

Просмотреть файл

@ -53,8 +53,9 @@
readonly="true"/>
<property name="enableColumnDrag"
onget="return this.getAttribute('enableColumnDrag') == 'true';"
onset="this.setAttribute('enableColumnDrag', val); return val == 'true';"/>
onget="return this.hasAttribute('enableColumnDrag');"
onset="if (val) this.setAttribute('enableColumnDrag', 'true');
else this.removeAttribute('enableColumnDrag'); return val;"/>
<property name="firstOrdinalColumn">
<getter><![CDATA[
@ -613,7 +614,7 @@
if (obj.value != "twisty") {
var column = document.getElementById(col.value);
var cycler = column.getAttribute('cycler') == 'true';
var cycler = column.hasAttribute('cycler');
if (cycler)
b.view.cycleCell(row.value, col.value);
@ -659,7 +660,7 @@
selected group of items */
var column = document.getElementById(col.value);
var cycler = column.getAttribute('cycler') == 'true';
var cycler = column.hasAttribute('cycler');
// if the last row has changed in between the time we
// mousedown and the time we click, don't fire the select handler.
@ -683,12 +684,13 @@
if (row.value >= b.view.rowCount) return;
} catch (e) { return; }
var column = document.getElementById(col.value);
var cycler = column.getAttribute('cycler') == 'true';
var cycler = column.hasAttribute('cycler');
if (!cycler && obj.value != "twisty" && b.view.isContainer(row.value))
b.view.toggleOpenState(row.value);
]]>
</handler>
</handlers>
</binding>
@ -909,7 +911,7 @@
if (currCol && (currCol != this)) {
// Construct an entry for each cell in the row, unless
// it is not being show
if (currCol.getAttribute("ignoreincolumnpicker") != "true") {
if (!currCol.hasAttribute("ignoreincolumnpicker")) {
var columnName = currCol.getAttribute("label");
var popupChild = document.createElement("menuitem");
popupChild.setAttribute("type", "checkbox");

Просмотреть файл

@ -25,11 +25,7 @@
</xul:hbox>
</content>
<implementation implements="nsIAccessibleProvider">
<constructor>
this.setAttribute("empty", "true");
</constructor>
<implementation implements="nsIAccessibleProvider">
<property name="label" onset="if (this.label != val) this.setAttribute('label',val); return val;"
onget="return this.getAttribute('label');"/>

Просмотреть файл

@ -37,7 +37,7 @@
<getter>
<![CDATA[
var children = this._getRadioChildren();
for (var i = 0; i < children.length; i++) {
for (var i = 0; i < children.length; ++i) {
if (children[i].selected)
return children[i];
}
@ -73,7 +73,7 @@
<getter>
<![CDATA[
var children = this._getRadioChildren();
for (var i = 0; i < children.length; i++) {
for (var i = 0; i < children.length; ++i) {
if (children[i].getAttribute("focused") == "true")
return children[i];
}
@ -86,7 +86,7 @@
// unfocus all other group nodes
var children = this._getRadioChildren();
for (var i = 0; i < children.length; i++) {
for (var i = 0; i < children.length; ++i) {
if (children[i] != val)
children[i].removeAttribute("focused");
}
@ -288,7 +288,7 @@
<property name="selected" readonly="true">
<getter>
<![CDATA[
return this.getAttribute('selected') == 'true';
return this.hasAttribute('selected');
]]>
</getter>
</property>

Просмотреть файл

@ -17,7 +17,8 @@
<implementation>
<constructor>
this.initScrollbar();
if (navigator.platform.indexOf("Mac") != -1)
this.initScrollbar();
</constructor>
<method name="initScrollbar">
@ -29,25 +30,25 @@
var downTop;
var upBottom;
if ( scrollbarStyle == "double" ) {
downTop = this.findNodeByAttribute("sbattr", "scrollbar-down-top");
upBottom = this.findNodeByAttribute("sbattr", "scrollbar-up-bottom");
downTop = document.getAnonymousElementByAttribute(this, "sbattr", "scrollbar-down-top");
upBottom = document.getAnonymousElementByAttribute(this, "sbattr", "scrollbar-up-bottom");
downTop.removeAttribute("collapsed");
upBottom.removeAttribute("collapsed");
}
else if ( scrollbarStyle == "doubletop" ) {
downTop = this.findNodeByAttribute("sbattr", "scrollbar-down-top");
var downBottom = this.findNodeByAttribute("sbattr", "scrollbar-down-bottom");
downTop = document.getAnonymousElementByAttribute(this, "sbattr", "scrollbar-down-top");
var downBottom = document.getAnonymousElementByAttribute(this, "sbattr", "scrollbar-down-bottom");
downTop.removeAttribute("collapsed");
downBottom.setAttribute("collapsed","true");
}
else if ( scrollbarStyle == "doublebottom" ) {
var upTop = this.findNodeByAttribute("sbattr", "scrollbar-up-top");
upBottom = this.findNodeByAttribute("sbattr", "scrollbar-up-bottom");
var upTop = document.getAnonymousElementByAttribute(this, "sbattr", "scrollbar-up-top");
upBottom = document.getAnonymousElementByAttribute(this, "sbattr", "scrollbar-up-bottom");
upTop.setAttribute("collapsed","true");
upBottom.removeAttribute("collapsed");
}
if ( thumbStyle == "fixed" ) {
var thumb = this.findNodeByAttribute("sbattr","scrollbar-thumb");
var thumb = document.getAnonymousElementByAttribute(this, "sbattr","scrollbar-thumb");
if ( thumb )
thumb.removeAttribute("flex");
}
@ -59,25 +60,6 @@
</body>
</method>
<method name="findNodeByAttribute">
<parameter name="aAttribute"/>
<parameter name="aValue"/>
<body>
<![CDATA[
var nodes = document.getAnonymousNodes(this);
for (var i = 0; i < nodes.length; i++) {
if (nodes[i].getAttribute(aAttribute) == aValue)
return nodes[i];
else {
var subnodes = nodes[i].getElementsByAttribute(aAttribute, aValue);
if (!subnodes.length) continue;
return subnodes[0];
}
}
return null;
]]>
</body>
</method>
</implementation>
<handlers>
<handler event="contextmenu" action="event.preventDefault();"/>

Просмотреть файл

@ -360,7 +360,7 @@
// If the new tab is busy, and our current state is not busy, then
// we need to fire a start to all progress listeners.
const nsIWebProgressListener = Components.interfaces.nsIWebProgressListener;
if (this.mCurrentTab.getAttribute("busy") == "true" && !this.mIsBusy) {
if (this.mCurrentTab.hasAttribute("busy") && !this.mIsBusy) {
this.mIsBusy = true;
webProgress = this.mCurrentBrowser.webProgress;
for (i = 0; i < this.mProgressListeners.length; i++) {
@ -372,7 +372,7 @@
// If the new tab is not busy, and our current state is busy, then
// we need to fire a stop to all progress listeners.
if (this.mCurrentTab.getAttribute("busy") != "true" && this.mIsBusy) {
if (!this.mCurrentTab.hasAttribute("busy") && this.mIsBusy) {
this.mIsBusy = false;
webProgress = this.mCurrentBrowser.webProgress;
for (i = 0; i < this.mProgressListeners.length; i++) {

Просмотреть файл

@ -15,7 +15,7 @@
]]>
</getter>
</property>
<property name="disabled" onget="if (this.getAttribute('disabled') == 'true') return true; return false;"
<property name="disabled" onget="return this.hasAttribute('disabled');"
onset="if (val) this.setAttribute('disabled', 'true');
else this.removeAttribute('disabled');
return val;"/>
@ -38,25 +38,14 @@
<binding id="label-control" extends="chrome://global/content/bindings/text.xml#text-label">
<handlers>
<handler event="click" action="if (this.disabled) return;
var forElementID = this.getAttribute('control');
if (forElementID)
var forElement = document.getElementById(forElementID);
if(forElement)
forElement.focus();
var controlElementID = this.getAttribute('control');
var controlElement;
if (controlElementID)
controlElement = document.getElementById(controlElementID);
if(controlElement)
controlElementID.focus();
"/>
</handlers>
</binding>
<binding id="label-for" extends="chrome://global/content/bindings/text.xml#text-base">
<handlers>
<handler event="click" action="var forElementID = this.getAttribute('for');
if (forElementID)
var forElement = document.getElementById(forElementID);
if(forElement)
forElement.focus();
"/>
</handlers>
</binding>
</binding>
</bindings>

Просмотреть файл

@ -76,8 +76,7 @@
if (val) this.setAttribute('disabled', 'true');
else this.removeAttribute('disabled'); return val;"
onget="return this.inputField.readonly;"/>
<method name="select">
<body>
this.inputField.select();
@ -136,7 +135,7 @@
<handlers>
<handler event="focus" phase="capturing">
<![CDATA[
if (this.getAttribute('focused') != 'true') {
if (!this.hasAttribute('focused')) {
this.setAttribute('focused','true');
this.suppressFocusBlur = true;
if (document.commandDispatcher.focusedElement != this.inputField)
@ -148,7 +147,7 @@
<handler event="blur" phase="capturing">
<![CDATA[
if (!this.suppressFocusBlur && this.getAttribute('focused') == 'true') {
if (!this.suppressFocusBlur && this.hasAttribute('focused')) {
this.removeAttribute('focused');
}
]]>

Просмотреть файл

@ -109,10 +109,13 @@
<property name="deferAttached">
<getter>
return this.getAttribute("deferattached");
return (this.hasAttribute("deferattached") ? "true" : "false");
</getter>
<setter>
this.setAttribute("deferattached", val);
if (val)
this.setAttribute("deferattached", "true");
else
this.removeAttribute("deferattached");
return val;
</setter>
</property>
@ -221,10 +224,13 @@
<implementation>
<property name="collapsed">
<getter>
return this.getAttribute("moz_grippy_collapsed");
return this.hasAttribute("moz_grippy_collapsed");
</getter>
<setter>
this.setAttribute("moz_grippy_collapsed", val);
if (val)
this.setAttribute("moz_grippy_collapsed", "true");
else
this.removeAttribute("moz_grippy_collapsed");
return val;
</setter>
</property>