No bug - Fix some dodgy white-space in calendar XML files; rs=white-space-only
authorGeoff Lankow <geoff@darktrojan.net>
Thu, 06 Dec 2018 20:53:14 +1300
changeset 33858 b97c1a62e3d09bb93b3ae9b58462b3282ba9aeb6
parent 33857 f4b9e739d180fcd1f813978893b7d9907737193b
child 33859 0e2cd56c3a6c626b0cd377d385f9a90f9646b2a9
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewerswhite-space-only
No bug - Fix some dodgy white-space in calendar XML files; rs=white-space-only
calendar/base/content/calendar-views.xml
calendar/base/content/widgets/calendar-alarm-widget.xml
calendar/base/content/widgets/minimonth.xml
--- a/calendar/base/content/calendar-views.xml
+++ b/calendar/base/content/calendar-views.xml
@@ -241,17 +241,17 @@
         ]]></body>
       </method>
       <method name="getRangeDescription">
         <body><![CDATA[
             let monthName = cal.l10n.formatMonth(this.rangeStartDate.month + 1,
                                                  "calendar", "monthInYear");
             return cal.l10n.getCalString("monthInYear", [monthName, this.rangeStartDate.year]);
         ]]></body>
-       </method>
+      </method>
       <method name="moveView">
         <parameter name="aNumber"/>
         <body><![CDATA[
             let dates = this.getDateList({});
             this.displayDaysOff = !this.mWorkdaysOnly;
 
             if (aNumber) {
                 // The first few dates in this list are likely in the month
--- a/calendar/base/content/widgets/calendar-alarm-widget.xml
+++ b/calendar/base/content/widgets/calendar-alarm-widget.xml
@@ -230,24 +230,24 @@
         <xul:textbox anonid="snooze-value-textbox"
                      oninput="updateAccessibleName()"
                      onselect="updateAccessibleName()"
                      type="number"
                      size="3"/>
         <xul:menulist anonid="snooze-unit-menulist"
                       class="snooze-unit-menulist"
                       allowevents="true">
-         <xul:menupopup anonid="snooze-unit-menupopup"
-                        position="after_start"
-                        ignorekeys="true"
-                        class="menulist-menupopup">
-           <xul:menuitem closemenu="single" class="unit-menuitem" value="1"/>
-           <xul:menuitem closemenu="single" class="unit-menuitem" value="60"/>
-           <xul:menuitem closemenu="single" class="unit-menuitem" value="1440"/>
-         </xul:menupopup>
+          <xul:menupopup anonid="snooze-unit-menupopup"
+                         position="after_start"
+                         ignorekeys="true"
+                         class="menulist-menupopup">
+            <xul:menuitem closemenu="single" class="unit-menuitem" value="1"/>
+            <xul:menuitem closemenu="single" class="unit-menuitem" value="60"/>
+            <xul:menuitem closemenu="single" class="unit-menuitem" value="1440"/>
+          </xul:menupopup>
         </xul:menulist>
         <xul:toolbarbutton anonid="snooze-popup-ok"
                            class="snooze-popup-button snooze-popup-ok-button"
                            oncommand="snoozeOk()"/>
         <xul:toolbarbutton anonid="snooze-popup-cancel"
                            class="snooze-popup-button snooze-popup-cancel-button"
                            aria-label="&calendar.alarm.snooze.cancel;"
                            oncommand="snoozeCancel()"/>
--- a/calendar/base/content/widgets/minimonth.xml
+++ b/calendar/base/content/widgets/minimonth.xml
@@ -422,25 +422,25 @@
       <property name="value"
                 onget="return this.mValue"
                 onset="this.update(val)"/>
 
       <property name="extra"
                 onget="return this.mExtraDate"
                 onset="this.mExtraDate = val"/>
 
-       <!--returns the first (inclusive) date of the minimonth as a calIDateTime object-->
+      <!--returns the first (inclusive) date of the minimonth as a calIDateTime object-->
       <property name="firstDate" readonly="true">
         <getter><![CDATA[
             let date = this._getCalBoxNode(1, 1).date;
             return cal.dtz.jsDateToDateTime(date);
         ]]></getter>
       </property>
 
-       <!--returns the last (exclusive) date of the minimonth as a calIDateTime object-->
+      <!--returns the last (exclusive) date of the minimonth as a calIDateTime object-->
       <property name="lastDate" readonly="true">
         <getter><![CDATA[
             let date = this._getCalBoxNode(6, 7).date;
             let lastDateTime = cal.dtz.jsDateToDateTime(date);
             lastDateTime.day = lastDateTime.day + 1;
             return lastDateTime;
         ]]></getter>
       </property>
@@ -620,17 +620,17 @@
                     busyCalendars[aOccurrence.calendar.id] += (aState ? 1 : -1);
                     this.updateBoxBusy(box, busyCalendars);
                 }
                 current.day++;
             }
         ]]></body>
       </method>
 
-       <!--calIObserver methods -->
+      <!--calIObserver methods -->
       <method name="onStartBatch">
         <parameter name="aCalendar"/>
         <body><![CDATA[
         ]]></body>
       </method>
 
       <method name="onEndBatch">
         <parameter name="aCalendar"/>
@@ -693,17 +693,17 @@
       <method name="onPropertyDeleting">
         <parameter name="aCalendar"/>
         <parameter name="aName"/>
         <body><![CDATA[
             this.onPropertyChanged(aCalendar, aName, null, null);
         ]]></body>
       </method>
 
-       <!-- calICompositeObserver methods -->
+      <!-- calICompositeObserver methods -->
       <method name="onCalendarAdded">
         <parameter name="aCalendar"/>
         <body><![CDATA[
             this.getItems(aCalendar);
         ]]></body>
       </method>
 
       <method name="onCalendarRemoved">