Bug 1494296 - Fix deprecation warning when creating a new calendar on TB's Account Central page. r=MakeMyDay
authorMartin Schroeder <mschroeder@mozilla.x-home.org>
Wed, 03 Oct 2018 14:06:11 +0200
changeset 33294 c42d9a24749dc13ff6ccfbd3780828613cd8faf0
parent 33293 54787af6beb08a2240d9152852c46344e438dc24
child 33295 028f53e3c744d5f31e5892cf205a427d0044827d
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersMakeMyDay
bugs1494296
Bug 1494296 - Fix deprecation warning when creating a new calendar on TB's Account Central page. r=MakeMyDay
calendar/lightning/content/messenger-overlay-accountCentral.xul
--- a/calendar/lightning/content/messenger-overlay-accountCentral.xul
+++ b/calendar/lightning/content/messenger-overlay-accountCentral.xul
@@ -19,13 +19,13 @@
             flex="1"
             insertbefore="AccountsSection.spacer"/>
     <row id="lightning-newCalendar-row"
          class="acctCentralRow"
          insertbefore="AccountsSection.spacer">
       <hbox>
         <label class="acctCentralText acctCentralLinkText"
                value="&lightning.acctCentral.newCalendar.label;"
-               onclick="window.parent.cal.openCalendarWizard(window);"/>
+               onclick="window.parent.cal.window.openCalendarWizard(window);"/>
       </hbox>
     </row>
   </rows>
 </overlay>