Bug 1534465 - Calendar menulist not initialised in event dialog. r=darktrojan a=jorgk THUNDERBIRD_67_0b1_BUILD2 THUNDERBIRD_67_0b1_RELEASE
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Thu, 28 Mar 2019 11:34:18 +0200
changeset 33978 a8ed74135131
parent 33977 1aa74c7d1f80
child 33979 4458377481df
push id2396
push usermozilla@jorgk.com
push dateMon, 01 Apr 2019 16:48:49 +0000
treeherdercomm-beta@a8ed74135131 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdarktrojan, jorgk
bugs1534465
Bug 1534465 - Calendar menulist not initialised in event dialog. r=darktrojan a=jorgk
calendar/lightning/content/lightning-item-iframe.js
--- a/calendar/lightning/content/lightning-item-iframe.js
+++ b/calendar/lightning/content/lightning-item-iframe.js
@@ -593,17 +593,16 @@ function loadDialog(aItem) {
             let index = itemProps.calendarList.findIndex(
                 calendar => (calendar[0] == calendarToUse.id));
             if (index != -1) {
                 itemProps.initialCalendarId = calendarToUse.id;
             }
         }
     } else {
         let calendarList = document.getElementById("item-calendar");
-        removeChildren(calendarList);
         let indexToSelect = appendCalendarItems(aItem, calendarList, aItem.calendar || window.arguments[0].calendar);
         if (indexToSelect > -1) {
             calendarList.selectedIndex = indexToSelect;
         }
     }
 
     // Categories
     if (gNewItemUI) {