зеркало из https://github.com/mozilla/pjs.git
Fix popup prefs panel.
This commit is contained in:
Родитель
c5ad66bb89
Коммит
be1919904e
|
@ -63,7 +63,7 @@
|
|||
setButtons();
|
||||
}
|
||||
function setButtons() {
|
||||
manageButton.disabled = policyButton.checked;
|
||||
manageButton.disabled = !policyButton.checked;
|
||||
}
|
||||
function selectPolicy() {
|
||||
setButtons();
|
||||
|
@ -77,9 +77,9 @@
|
|||
<description>&popupDetails;</description>
|
||||
|
||||
<hbox align="center">
|
||||
<checkbox label="&popupAllow.label;"
|
||||
<checkbox label="&popupReject.label;"
|
||||
prefstring="dom.disable_open_during_load"
|
||||
accesskey="&popupAllow.accesskey;"
|
||||
accesskey="&popupReject.accesskey;"
|
||||
oncommand="selectPolicy()" id="popupPolicy"/>
|
||||
<spacer flex="1"/>
|
||||
<button id="popupView" label="&popupView.label;"
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
<!ENTITY popupDetails "When websites attempt to open new windows without being asked">
|
||||
|
||||
<!ENTITY popupAllow.label "Allow pop-up windows">
|
||||
<!ENTITY popupAllow.accesskey "a">
|
||||
<!ENTITY popupReject.label "Reject pop-up windows">
|
||||
<!ENTITY popupReject.accesskey "r">
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче