Bug 1451763 - Fix update event from reply, add missing variable declaration. r=philipp a=philipp
authorMakeMyDay <makemyday@gmx-topmail.de>
Sat, 07 Apr 2018 11:14:48 +0200
changeset 30524 604207d3ac30befb364e3141ede8aace5f088446
parent 30523 d265c609707c59469473b13bf50b24cf7616e1e6
child 30525 706c1e5a18c77b03ab4deafa26cac2d532c44471
push idunknown
push userunknown
push dateunknown
reviewersphilipp, philipp
bugs1451763
Bug 1451763 - Fix update event from reply, add missing variable declaration. r=philipp a=philipp
calendar/lightning/content/imip-bar.js
--- a/calendar/lightning/content/imip-bar.js
+++ b/calendar/lightning/content/imip-bar.js
@@ -445,16 +445,17 @@ var ltnImipBar = {
                     item,
                     null,
                     aParticipantStatus != "X-RESCHEDULE",
                     null,
                     counterProposal
                 );
             }
         } else {
+            let response;
             if (aResponse) {
                 if (aResponse == "AUTO" || aResponse == "NONE" || aResponse == "USER") {
                     response = { responseMode: Components.interfaces.calIItipItem[aResponse] };
                 }
                 // Open an extended response dialog to enable the user to add a comment, make a
                 // counterproposal, delegate the event or interact in another way.
                 // Instead of a dialog, this might be implemented as a separate container inside the
                 // imip-overlay as proposed in bug 458578