PrefManager.clearPref Member
Syntax
object.clearPref(prefName);
Arguments
Argument | Summary |
---|---|
prefName |
Returns
Remarks
See Also
Source Code
function pm_reset(prefName)
{
try {
this.prefBranch.clearUserPref(prefName);
} catch(ex) {
// Do nothing, the pref didn't exist.
}
this.delayedSave();
// Always update this after changing the preference.
this.prefRecords[prefName].realValue = null;
}