mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 04:05:49 +00:00
9 lines
311 B
JavaScript
9 lines
311 B
JavaScript
|
|
function prefCacheSelectFolder()
|
|
{
|
|
bundle = srGetStrBundle("chrome://pref/locale/prefutilities.properties");
|
|
var folderField = document.getElementById("browserCacheDirectory");
|
|
var url = getFileOrFolderURL( bundle.GetStringFromName("cachefolder"), true );
|
|
if( url != -1 )
|
|
folderField.value = url;
|
|
} |