From 8f57e2bba922095c2fa5f8942a17b60393fd5af9 Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Mon, 24 May 2004 03:56:49 +0000 Subject: [PATCH] Bug #244209 --> Offline Settings > KB value not be stored for 'Compact folders if size is over..." --- mail/extensions/offline/content/pref-offline.xul | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/extensions/offline/content/pref-offline.xul b/mail/extensions/offline/content/pref-offline.xul index 0aebb4e240d..b35d5598072 100644 --- a/mail/extensions/offline/content/pref-offline.xul +++ b/mail/extensions/offline/content/pref-offline.xul @@ -83,7 +83,7 @@ pref.setIntPref(element.getAttribute("prefstring"), parseInt(element.value)); else if (eltType == "checkbox") pref.setBoolPref(element.getAttribute("prefstring"), element.checked); - else if (eltType == "textbox" && element.preftype == "int") + else if (eltType == "textbox" && element.getAttribute("preftype") == "int") pref.setIntPref(element.getAttribute("prefstring"), parseInt(element.getAttribute("value")) ); } }