GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit 32603f68 authored by Alex Catarineu's avatar Alex Catarineu

Bug 32174: replace XUL <textbox> with <html:input>

parent c7b35efb
...@@ -40,11 +40,11 @@ var proxySettings = ` ...@@ -40,11 +40,11 @@ var proxySettings = `
<label value="&torsettings.useProxy.address;" control="proxyAddr" <label value="&torsettings.useProxy.address;" control="proxyAddr"
class="rightAlign"/> class="rightAlign"/>
<hbox align="center"> <hbox align="center">
<textbox id="proxyAddr" size="20" flex="1" <html:input id="proxyAddr" size="20" style="-moz-box-flex: 1;"
placeholder="&torsettings.useProxy.address.placeholder;"/> placeholder="&torsettings.useProxy.address.placeholder;"/>
<separator orient="vertical"/> <separator orient="vertical"/>
<label value="&torsettings.useProxy.port;" control="proxyPort"/> <label value="&torsettings.useProxy.port;" control="proxyPort"/>
<textbox id="proxyPort" size="4"/> <html:input id="proxyPort" size="4"/>
</hbox> </hbox>
</row> </row>
<row align="center"> <row align="center">
...@@ -52,13 +52,13 @@ var proxySettings = ` ...@@ -52,13 +52,13 @@ var proxySettings = `
value="&torsettings.useProxy.username;" value="&torsettings.useProxy.username;"
control="proxyUsername" class="rightAlign"/> control="proxyUsername" class="rightAlign"/>
<hbox align="center"> <hbox align="center">
<textbox id="proxyUsername" size="14" flex="1" <html:input id="proxyUsername" size="14" style="-moz-box-flex: 1;"
placeholder="&torsettings.optional;"/> placeholder="&torsettings.optional;"/>
<separator orient="vertical"/> <separator orient="vertical"/>
<label id="proxyPasswordLabel" <label id="proxyPasswordLabel"
value="&torsettings.useProxy.password;" value="&torsettings.useProxy.password;"
control="proxyPassword"/> control="proxyPassword"/>
<textbox id="proxyPassword" size="14" type="password" <html:input id="proxyPassword" size="14" type="password"
placeholder="&torsettings.optional;"/> placeholder="&torsettings.optional;"/>
</hbox> </hbox>
</row> </row>
...@@ -175,7 +175,7 @@ var bridgeDBRequestOverlayContent = ` ...@@ -175,7 +175,7 @@ var bridgeDBRequestOverlayContent = `
<hbox> <hbox>
<spacer id="bridgeDBReloadSpacer"/> <spacer id="bridgeDBReloadSpacer"/>
<spacer flex="1"/> <spacer flex="1"/>
<textbox id="bridgeDBCaptchaSolution" size="35" <html:input id="bridgeDBCaptchaSolution" size="35"
placeholder="&torsettings.useBridges.captchaSolution.placeholder;" placeholder="&torsettings.useBridges.captchaSolution.placeholder;"
oninput="onCaptchaSolutionChange()"/> oninput="onCaptchaSolutionChange()"/>
<spacer flex="1"/> <spacer flex="1"/>
......
...@@ -2489,7 +2489,7 @@ function setElemValue(aID, aValue) ...@@ -2489,7 +2489,7 @@ function setElemValue(aID, aValue)
toggleElemUI(elem); toggleElemUI(elem);
break; break;
case "html:textarea": case "html:textarea":
case "textbox": case "html:input":
if (Array.isArray(aValue)) if (Array.isArray(aValue))
{ {
val = ""; val = "";
...@@ -2555,7 +2555,7 @@ function getElemValue(aID, aDefaultValue) ...@@ -2555,7 +2555,7 @@ function getElemValue(aID, aDefaultValue)
rv = elem.selected; rv = elem.selected;
break; break;
case "html:textarea": case "html:textarea":
case "textbox": case "html:input":
case "menulist": case "menulist":
case "richlistbox": case "richlistbox":
rv = elem.value; rv = elem.value;
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<hbox align="center"> <hbox align="center">
<label value="&torsettings.firewall.allowedPorts;" <label value="&torsettings.firewall.allowedPorts;"
control="firewallAllowedPorts"/> control="firewallAllowedPorts"/>
<textbox id="firewallAllowedPorts" value="80,443"/> <html:input id="firewallAllowedPorts" value="80,443"/>
</hbox> </hbox>
</groupbox> </groupbox>
</vbox> </vbox>
......
...@@ -307,7 +307,7 @@ html|textarea { ...@@ -307,7 +307,7 @@ html|textarea {
.os-windows label, .os-windows label,
.os-windows description, .os-windows description,
.os-windows html|textarea, .os-windows html|textarea,
.os-windows textbox .os-windows html|input
{ {
font-size: 120% !important; font-size: 120% !important;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment