mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 260364 Fixup radiogroups to use new .value functionality of radio.xml
p=me r/sr=neil a=asa
This commit is contained in:
parent
03bbc8db42
commit
ecc947a4ea
@ -77,8 +77,7 @@
|
||||
try {
|
||||
// set prefLevel radio button
|
||||
p3pLevel = pref.getIntPref("network.cookie.p3plevel");
|
||||
var radio = document.getElementById("p3pLevel");
|
||||
radio.selectedItem = radio.childNodes[p3pLevel];
|
||||
document.getElementById("p3pLevel").value = p3pLevel;
|
||||
|
||||
// set custom settings
|
||||
if (p3pLevel == custom) {
|
||||
@ -96,8 +95,8 @@
|
||||
|
||||
function onOK(){
|
||||
|
||||
var p3pLevel = document.getElementById("p3pLevel").selectedItem.value;
|
||||
pref.setIntPref("network.cookie.p3plevel",p3pLevel);
|
||||
var p3pLevel = document.getElementById("p3pLevel").value;
|
||||
pref.setIntPref("network.cookie.p3plevel", p3pLevel);
|
||||
|
||||
var value = "";
|
||||
for (var i=0; i<p3pLength; i++) {
|
||||
|
@ -77,8 +77,7 @@
|
||||
try {
|
||||
// set prefLevel radio button
|
||||
p3pLevel = pref.getIntPref("network.cookie.p3plevel");
|
||||
var radio = document.getElementById("p3pLevel");
|
||||
radio.selectedItem = radio.childNodes[p3pLevel];
|
||||
document.getElementById("p3pLevel").value = p3pLevel;
|
||||
|
||||
// set custom settings
|
||||
if (p3pLevel == custom) {
|
||||
@ -96,8 +95,8 @@
|
||||
|
||||
function onOK(){
|
||||
|
||||
var p3pLevel = document.getElementById("p3pLevel").selectedItem.value;
|
||||
pref.setIntPref("network.cookie.p3plevel",p3pLevel);
|
||||
var p3pLevel = document.getElementById("p3pLevel").value;
|
||||
pref.setIntPref("network.cookie.p3plevel", p3pLevel);
|
||||
|
||||
var value = "";
|
||||
for (var i=0; i<p3pLength; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user