From e490f0ef1c356d3cffa40810bd83a2ccc8ce89ca Mon Sep 17 00:00:00 2001 From: "mgalli%geckonnection.com" Date: Tue, 22 Nov 2005 19:47:16 +0000 Subject: [PATCH] Fix new onsyncpref, needs prefuitype attribute. git-svn-id: svn://10.0.0.236/trunk@185153 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/minimo/chrome/content/preferences/pane-advanced.xul | 4 ++-- mozilla/minimo/chrome/content/preferences/pane-connection.xul | 2 +- mozilla/minimo/chrome/content/preferences/pane-general.xul | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/minimo/chrome/content/preferences/pane-advanced.xul b/mozilla/minimo/chrome/content/preferences/pane-advanced.xul index 0e57272a4df..10d6ed0c5e6 100644 --- a/mozilla/minimo/chrome/content/preferences/pane-advanced.xul +++ b/mozilla/minimo/chrome/content/preferences/pane-advanced.xul @@ -78,7 +78,7 @@ id="storeCacheStorageCard" label="&storeCacheStorageCard.label;" preference="browser.cache.disk.parent_directory" - onsyncfrompreference="readCacheLocationPref();" + onsyncfrompreference="readCacheLocationPref();" prefuitype="bool" onsynctopreference="writeCacheLocationPref();" onclick="syncPref(this)" /> @@ -93,7 +93,7 @@ diff --git a/mozilla/minimo/chrome/content/preferences/pane-connection.xul b/mozilla/minimo/chrome/content/preferences/pane-connection.xul index 48c3f107368..3bb8c4e3a3c 100644 --- a/mozilla/minimo/chrome/content/preferences/pane-connection.xul +++ b/mozilla/minimo/chrome/content/preferences/pane-connection.xul @@ -64,7 +64,7 @@ label="&useproxyCheckbox.label;" preference="network.proxy.type" onclick="syncPref(this)" - onsyncfrompreference="readProxyPref();" + onsyncfrompreference="readProxyPref();" prefuitype="bool" onsynctopreference="writeProxyPref();" /> diff --git a/mozilla/minimo/chrome/content/preferences/pane-general.xul b/mozilla/minimo/chrome/content/preferences/pane-general.xul index ccd7ff945b5..e68bf55c41c 100644 --- a/mozilla/minimo/chrome/content/preferences/pane-general.xul +++ b/mozilla/minimo/chrome/content/preferences/pane-general.xul @@ -78,7 +78,7 @@ tabindex="11" onfocus="prefFocus('ssrimage-box')" onblur="prefBlur('ssrimage-box')" label="&imagesCheckbox.label;" - preference="permissions.default.image" preftype="int" prefvalue="" + preference="permissions.default.image" prefuitype="bool" prefvalue="" onsyncfrompreference="readEnableImagesPref();" onsynctopreference="writeEnableImagesPref();" onclick="syncPref(this)"