Fix new onsyncpref, needs prefuitype attribute.

git-svn-id: svn://10.0.0.236/trunk@185153 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mgalli%geckonnection.com 2005-11-22 19:47:16 +00:00
parent bc27562809
commit e490f0ef1c
3 changed files with 4 additions and 4 deletions

View File

@ -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 @@
<textbox id="cacheSizeField" size="5" tabindex="32"
onfocus="" onblur=""
style="margin:3px ! important;"
preference="browser.cache.disk.capacity" preftype="int"
preference="browser.cache.disk.capacity" prefuitype="int"
onchange="syncPref(this)"
/>

View File

@ -64,7 +64,7 @@
label="&useproxyCheckbox.label;"
preference="network.proxy.type"
onclick="syncPref(this)"
onsyncfrompreference="readProxyPref();"
onsyncfrompreference="readProxyPref();" prefuitype="bool"
onsynctopreference="writeProxyPref();"
/>

View File

@ -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)"