rem: this.log( "modifyItem() call: " + newItem.id ); if (this.readOnly) throw Components.interfaces.calIErrors.CAL_IS_READONLY;  
add: this.log( "modifyItem() call: " + newItem.id ); 
context: calWcapCalendar.prototype.modifyItem = function( newItem, oldItem, listener ){    this.log( "modifyItem() call: " + newItem.id );    if (this.readOnly)        throw Components.interfaces.calIErrors.CAL_IS_READONLY;        try {        if (!newItem.id)            throw new Error("new item has no id!");                var this_ = this;        this.storeItem(            newItem, oldItem,            function( wcapResponse ) {                this_.modifyItem_resp( wcapResponse, oldItem, listener );            } );    }    catch (exc) {        if (listener != null) {            listener.onOperationComplete(                this.superCalendar, Components.results.NS_ERROR_FAILURE,                Components.interfaces.calIOperationListener.MODIFY,                newItem.id, exc );        }        this.notifyError( exc );    }    this.log( "modifyItem() returning." );};
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/88a347723b7a4696ebc1ec2a320d6f1fe7ff1a0b/calWcapCalendarItems.js/clean/calendar/providers/wcap/calWcapCalendarItems.js