rem: debug("WebDavListener.onOperationComplete() called\n"); return; }, 
add:   if (aStatusCode == 204) { debug("Item modified successfully.\n"); var retVal = Components.results.NS_OK;  } else { if (aStatusCode > 999) { aStatusCode = "0x " + aStatusCode.toString(16); } debug("Error modifying item: " + aStatusCode + "\n");        retVal = Components.results.NS_ERROR_FAILURE; }    if (aListener) { try { aListener.onOperationComplete(thisCalendar, retVal, aListener.MODIFY, aNewItem.id, aNewItem); } catch (ex) { debug("modifyItem's onOperationComplete threw an" + " exception " + ex + "; ignoring\n"); } }   if (Components.isSuccessCode(retVal)) { thisCalendar.observeModifyItem(aNewItem, aOldItem); }  return; } 
context:     onOperationComplete: function(aStatusCode, aResource, aOperation,                                  aClosure) {        // aClosure is the listener        aClosure.onOperationComplete(this, aStatusCode, 0, null, null);        debug("WebDavListener.onOperationComplete() called\n");        return;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9c2093166f39b57cc5f8891d2cfd6f3437aecf16/calDavCalendar.js/clean/calendar/providers/caldav/calDavCalendar.js