Closed Bug 319344 Opened 15 years ago Closed 15 years ago

hPrefWindow called as a function

Categories

(Calendar :: Sunbird Only, defect)

PowerPC
macOS
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mozilla, Assigned: mostafah)

Details

Attachments

(1 file)

Error: hPrefWindow is not a function
Source File: chrome://calendar/content/pref/prefBird.xul
Line: 1

The error seems to be in line 36 according to jminta on #calendar
lxr log says:
  prefBird.xul Version 1.3:  onselect="PrefDialogService.switchPage();">
  prefBird.xul Version 1.4:  onselect="hPrefWindow();">

so it seems that this want to be "hPrefWindow.switchPage();" instead.
OK - what ssitter proposed works :-)))
Before, I had only an almost blank preferences window that was totally non-functional
Now, I've got the fully functional preferences window :-)

Now we just need someone to fix this in CVS too
Solution from comment #1 that was tested by Bjarne D Mathiesen.
Attachment #205241 - Flags: first-review?(jminta)
Comment on attachment 205241 [details] [diff] [review]
change hPrefWindow() to hPrefWindow.switchPage()

Thanks for grabbing this, especially since it was my fault originally.

r=jminta
Attachment #205241 - Flags: first-review?(jminta) → first-review+
patch checked in
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.