зеркало из https://github.com/mozilla/pjs.git
Bug 598169 - The new "About" dialog should allow version-string to be selectable. r=dolske
This commit is contained in:
Родитель
f3aed264e0
Коммит
76aeb1f421
|
@ -21,6 +21,9 @@
|
|||
#version {
|
||||
margin-top: 10px;
|
||||
-moz-margin-start: 0;
|
||||
-moz-user-select: text;
|
||||
-moz-user-focus: normal;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
#distribution,
|
||||
|
|
|
@ -70,7 +70,7 @@ function init(aEvent)
|
|||
if (/a\d+$/.test(version)) {
|
||||
let buildID = Services.appinfo.appBuildID;
|
||||
let buildDate = buildID.slice(0,4) + "-" + buildID.slice(4,6) + "-" + buildID.slice(6,8);
|
||||
document.getElementById("version").value += " (" + buildDate + ")";
|
||||
document.getElementById("version").textContent += " (" + buildDate + ")";
|
||||
}
|
||||
|
||||
#ifdef MOZ_OFFICIAL_BRANDING
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
<hbox id="clientBox">
|
||||
<vbox id="leftBox" flex="1"/>
|
||||
<vbox id="rightBox" flex="1">
|
||||
#expand <label id="version" value="__MOZ_APP_VERSION__"/>
|
||||
#expand <label id="version">__MOZ_APP_VERSION__</label>
|
||||
<label id="distribution" class="text-blurb"/>
|
||||
<label id="distributionId" class="text-blurb"/>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче