Closed Bug 164838 Opened 23 years ago Closed 23 years ago

Changing date pref doesn't update task list

Categories

(Calendar :: Sunbird Only, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ajbu, Assigned: mikeypotter)

Details

Attachments

(1 file)

Changing the date pref. doesn't update the task list. patch follows
Adds toDoUnifinderRefesh(); Note that both unifinders use 'Refesh' not 'Refresh' This patch also changes the loadPreferences function. Note that prefs are no longer stored if they are the default values, so only changed prefs are stored. I am Not sure there are strong arguments to store all prefs, even with default values?
Checked into cvs, also function spelling mistake is fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Oops, didn't do all the tests properly. There is a problem with calendarManager, line 230: if( this.CalendarWindow.calendarPreferences.calendarPref.getBoolPref ( "servers.reloadonlaunch" ) == true This should not read directly from the pref.file, but use the calendarWindow prefarray function. I'm not sure if line 215 is what is wanted: var NumberOfCalendars = this.CalendarWindow.calendarPreferences.arrayOfPrefs.numberofservers; Other units like dateUtils.js use the getPref function for that: this.CalendarWindow.calendarPreferences.getPref( "dateformat" )
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
i'll add a new bug for the problem mentioned
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: colint → sunbird
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: