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