Bug 1608610 - Fix error 'gDataMigrator not defined'. r=darktrojan
authorPaul Morris <paul@thunderbird.net>
Tue, 28 Jan 2020 12:12:17 -0500
changeset 38134 e49a12783ad37a4b64468eb32d071e966c0aebbb
parent 38133 81c1b4bf19a2651f61eeeb6f86d4eb7c0353b46d
child 38135 eb963eb6aec6e17056942021338e08cfb756ffe2
push id398
push userclokep@gmail.com
push dateMon, 09 Mar 2020 19:10:28 +0000
reviewersdarktrojan
bugs1608610
Bug 1608610 - Fix error 'gDataMigrator not defined'. r=darktrojan This error would occur when initially setting up the Home calendar: Migrator error: ReferenceError: gDataMigrator is not defined calendar-management.js:423 initHomeCalendar chrome://calendar/content/calendar-management.js:423 loadCalendarManager chrome://calendar/content/calendar-management.js:122 commonInitCalendar chrome://calendar/content/calendar-chrome-startup.js:28 ltnOnLoad chrome://lightning/content/messenger-overlay-sidebar.js:386 (Async: EventListener.handleEvent) <anonymous> chrome://lightning/content/messenger-overlay-sidebar.js:753
mail/base/content/messenger.xhtml
--- a/mail/base/content/messenger.xhtml
+++ b/mail/base/content/messenger.xhtml
@@ -290,16 +290,19 @@
 <script src="chrome://calendar/content/calendar-dialog-utils.js"/>
 <script src="chrome://calendar/content/calApplicationUtils.js"/>
 <script src="chrome://calendar/content/calendar-item-bindings.js"/>
 <script src="chrome://calendar/content/calendar-menus.js"/>
 
 <!-- NEEDED FOR CALENDAR VIEWS -->
 <script src="chrome://calendar/content/calendar-event-gripbar.js"/>
 
+<!-- NEEDED FOR MIGRATION CHECK AT INSTALL -->
+<script src="chrome://calendar/content/calendar-migration-dialog.js"/>
+
 <commandset id="mailCommands">
 #include mainCommandSet.inc.xhtml
   <commandset id="mailSearchMenuItems"/>
   <commandset id="globalEditMenuItems"
               commandupdater="true"
               events="create-menu-edit"
               oncommandupdate="goUpdateGlobalEditMenuItems()"/>
   <commandset id="selectEditMenuItems"