Bug 414481: Get Add-ons Tab: make EULA text selectable. r=robstrong,
a=beltzner git-svn-id: svn://10.0.0.236/trunk@247272 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -39,5 +39,5 @@ function Startup() {
|
||||
var bundle = document.getElementById("extensionsStrings");
|
||||
var label = document.createTextNode(bundle.getFormattedString("eulaHeader", [window.arguments[0].name]));
|
||||
document.getElementById("heading").appendChild(label);
|
||||
document.getElementById("eula").appendChild(document.createTextNode(window.arguments[0].text));
|
||||
document.getElementById("eula").value = window.arguments[0].text;
|
||||
}
|
||||
|
||||
@@ -61,8 +61,6 @@
|
||||
|
||||
<label id="heading"/>
|
||||
|
||||
<vbox id="scrollbox" flex="1">
|
||||
<description id="eula"/>
|
||||
</vbox>
|
||||
<textbox id="eula" multiline="true" readonly="true" flex="1"/>
|
||||
|
||||
</dialog>
|
||||
|
||||
@@ -2,15 +2,18 @@
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
#scrollbox {
|
||||
overflow-y: auto;
|
||||
#eula {
|
||||
-moz-appearance: none;
|
||||
font-family: monospace;
|
||||
color: -moz-dialogtext;
|
||||
background-color: window;
|
||||
border: 1px solid ActiveBorder;
|
||||
margin: 1em 0 1em 0;
|
||||
padding: 5px;
|
||||
border: 1px solid;
|
||||
-moz-border-top-colors: ActiveBorder;
|
||||
-moz-border-right-colors: ActiveBorder;
|
||||
-moz-border-bottom-colors: ActiveBorder;
|
||||
-moz-border-left-colors: ActiveBorder;
|
||||
-moz-border-radius-topright: 0;
|
||||
-moz-border-radius-bottomleft: 0;
|
||||
}
|
||||
|
||||
#eula {
|
||||
font-family: monospace;
|
||||
white-space: -moz-pre-wrap;
|
||||
}
|
||||
|
||||
@@ -2,15 +2,16 @@
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
#scrollbox {
|
||||
overflow-y: auto;
|
||||
#eula {
|
||||
-moz-appearance: none;
|
||||
font-family: monospace;
|
||||
color: -moz-dialogtext;
|
||||
background-color: window;
|
||||
border: 1px solid ActiveBorder;
|
||||
margin: 1em 0 1em 0;
|
||||
padding: 5px;
|
||||
border: 1px solid;
|
||||
-moz-border-top-colors: ActiveBorder;
|
||||
-moz-border-right-colors: ActiveBorder;
|
||||
-moz-border-bottom-colors: ActiveBorder;
|
||||
-moz-border-left-colors: ActiveBorder;
|
||||
}
|
||||
|
||||
#eula {
|
||||
font-family: monospace;
|
||||
white-space: -moz-pre-wrap;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user