rem:  if (description.firstChild.data) { description.firstChild.data = ltnGetString("lightning","imipBarText"); }  var button = document.getElementById("imip-button1"); button.removeAttribute("hidden"); button.setAttribute("label", ltnGetString("lightning", "imipAcceptInvitation.label")); button.setAttribute("oncommand", "setAttendeeResponse('ACCEPTED', 'CONFIRMED');"); 
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 here    if (description.firstChild.data) {        description.firstChild.data = ltnGetString("lightning","imipBarText");    }    var button = document.getElementById("imip-button1");    button.removeAttribute("hidden");    button.setAttribute("label", ltnGetString("lightning",                                              "imipAcceptInvitation.label"));    button.setAttribute("oncommand",                        "setAttendeeResponse('ACCEPTED', 'CONFIRMED');");    if (imipMethod == "REQUEST") {        // Then 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');");    }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/a43eedf9671928b5eeab01d2060178f08be8b053/imip-bar.js/clean/calendar/lightning/content/imip-bar.js