FANDOM


This very simple function allows you to set all the preferences for your Widget back to their default values. Quite useful as an addition to the context menu since there's no way to do this built into Konfabulator.


function resetPreferences() {
  for (p in preferences) { eval('preferences.' + p + '.value = preferences.' + p + '.defaultValue'); }
  savePreferences();
}