Fix bug 719193 - Open/Delete Commands are always disabled (regression). r=markus,a=philipp
authorPhilipp Kewisch <mozilla@kewis.ch>
Mon, 06 Feb 2012 10:17:10 +0100
changeset 10782 b1c2824bfe7e1370e55807343ca66b57f019acda
parent 10781 6ece7d29186b3c44de5bb374b8a99b2b38ab0240
child 10783 61b227b45ca935b30b2455f5f591cd08b4389d3b
push id463
push userbugzilla@standard8.plus.com
push dateTue, 24 Apr 2012 17:34:51 +0000
treeherdercomm-beta@e53588e8f7b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarkus, philipp
bugs719193
Fix bug 719193 - Open/Delete Commands are always disabled (regression). r=markus,a=philipp
calendar/base/content/calendar-view-core.xml
--- a/calendar/base/content/calendar-view-core.xml
+++ b/calendar/base/content/calendar-view-core.xml
@@ -290,17 +290,17 @@
                     let pos = items.indexOf(this.mOccurrence);
                     items.splice(pos, 1);
                 } else {
                     items.push(this.mOccurrence);
                 }
             } else {
                 items = [this.mOccurrence];
             }
-            this.calendarView.setSelectedItems(items.length, items, true);
+            this.calendarView.setSelectedItems(items.length, items);
         ]]></body>
       </method>
       <method name="stopEditing">
         <parameter name="saveChanges"/>
         <body><![CDATA[
           if (!this.mEditing)
             return;