Closed
Bug 346912
Opened 18 years ago
Closed 18 years ago
print() function name collision
Categories
(Calendar :: Printing, defect)
Calendar
Printing
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mattwillis, Assigned: mattwillis)
References
Details
(Keywords: regression)
Attachments
(1 file)
2.47 KB,
patch
|
jminta
:
first-review+
|
Details | Diff | Splinter Review |
In bug 345490, I added printUtils.js to allow us to do Page Setup. Doing so caused a function name collision for "print()" between print() in calendar.js and toolkit/components/printing/content/printUtils.js We should namespace our own print function.
Assignee | ||
Comment 1•18 years ago
|
||
This patch renames our print() function to not collide with toolkit's. I intentionally didn't move calPrint() to applicationUtil.js as we likely will want to have a way to access the print selection dialog in Lightning. Checked for uses at: http://landfill.mozilla.org/mxr-test/mozilla/search?string=print%28%29&find=%2Fcalendar%2F&filter=
Attachment #231644 -
Flags: first-review?(jminta)
Comment 3•18 years ago
|
||
Comment on attachment 231644 [details] [diff] [review] rev0 - renames our print() function to not collide It goes in calendarUtils., not applicationUtil, but that's already included in the lightning-printing patch.
Attachment #231644 -
Flags: first-review?(jminta) → first-review+
Assignee | ||
Comment 4•18 years ago
|
||
patch checked in on MOZILLA_1_8_BRANCH and trunk -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•