Bug 260364 Fixup radiogroups to use new .value functionality of radio.xml

p=me r/sr=neil a=asa
This commit is contained in:
bugzilla%arlen.demon.co.uk 2006-05-17 02:39:02 +00:00
Родитель 9859e34313
Коммит 3f2ef65548
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -131,7 +131,7 @@
gOldMIME = gOldDesc = gOldExtensions = "";
// Make default "use system default."
gHandlerGroup.selectedItem = gHandlerGroup.getElementsByAttribute("value",nsIMIMEInfo.useSystemDefault)[0];
gHandlerGroup.value = nsIMIMEInfo.useSystemDefault;
// Always ask box default depends on pref.
gAskBeforeOpen.checked = forceAlwaysAsk;
@ -163,7 +163,7 @@
else
data = nsIMIMEInfo.useHelperApp;
gHandlerGroup.selectedItem = gHandlerGroup.getElementsByAttribute("value", data)[0];
gHandlerGroup.value = data;
doEnabling();
var appPath = handlerInfo.appPath;
@ -230,7 +230,7 @@
function selectAppRadio()
{
if (gHandlerGroup.value != nsIMIMEInfo.useHelperApp)
gHandlerGroup.selectedItem = gHandlerGroup.getElementsByAttribute("value", nsIMIMEInfo.useHelperApp)[0];
gHandlerGroup.value = nsIMIMEInfo.useHelperApp;
doEnabling();
}