rem: } else if (imipMethod == "REPLY") { 
add: } else if (imipMethod.toUpperCase() == "REPLY") { 
context: function setupBar(imipMethod){    // XXX - Bug 348666 - Currently we only do REQUEST requests    // In the future this function will set up the proper actions    // and attributes for the buttons as based on the iMIP Method    var imipBar = document.getElementById("imip-bar");    imipBar.setAttribute("collapsed", "false");    var description = document.getElementById("imip-description");    // Bug 348666: here is where we would check if this event was already    // added to calendar or not and display correct information    if (imipMethod == "REQUEST") {        if (description.firstChild.data) {            description.firstChild.data = ltnGetString("lightning",                                                       "imipBarRequestText");        }        var button = document.getElementById("imip-button1");        button.removeAttribute("hidden");        button.setAttribute("label", ltnGetString("lightning",                                                  "imipAcceptInvitation.label"));        button.setAttribute("oncommand",                            "setAttendeeResponse('ACCEPTED', 'CONFIRMED');");        // Create a DECLINE button        button = document.getElementById("imip-button2");        button.removeAttribute("hidden");        button.setAttribute("label", ltnGetString("lightning",                                                  "imipDeclineInvitation.label"));        button.setAttribute("oncommand",                            "setAttendeeResponse('DECLINED', 'CONFIRMED');");    } else if (imipMethod == "REPLY") {        // Bug xxxx we currently cannot process REPLY messages so just let        // the user know what this is, and don't give them any options.        if (description.firstChild.data) {            description.firstChild.data = ltnGetString("lightning",                                                       "imipBarReplyText");        }    } else {        // Bug xxxx TBD: Something went wrong or we found a message we don't        // support yet. We can show a "This method is not supported in this        // version" or simply hide the iMIP bar at this point        if (description.firstChild.data) {            description.firstChild.data = ltnGetString("lightning",                                                       "imipBarUnsupportedText");        }        Components.utils.reportError("Unknown imipMethod: " + imipMethod);    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/977b20a9de3795cf7038e2ad03929d68881954c5/imip-bar.js/buggy/calendar/lightning/content/imip-bar.js