doTransaction: function () { this.mIsDoTransaction = true; switch (this.mAction) { case 'add': this.mCalendar.addItem(this.mItem, this); break; case 'modify': this.mCalendar.modifyItem(this.mItem, this.mOldItem, this); break; case 'delete': this.mCalendar.deleteItem(this.mItem, this); break; case 'move': this.mOldCalendar = this.mOldItem.calendar; this.mOldCalendar.deleteItem(this.mOldItem, this); this.mCalendar.addItem(this.mItem, this); break; } }, 
function doTransaction(aAction, aItem, aCalendar, aOldItem, aListener) { getTransactionMgr().createAndCommitTxn(aAction, aItem, aCalendar, aOldItem, aListener); updateUndoRedoMenu(); } 
    doTransaction: function () {        this.mIsDoTransaction = true;        switch (this.mAction) {            case 'add':                this.mCalendar.addItem(this.mItem, this);                break;            case 'modify':                this.mCalendar.modifyItem(this.mItem, this.mOldItem,                                          this);                break;            case 'delete':                this.mCalendar.deleteItem(this.mItem, this);                break;            case 'move':                this.mOldCalendar = this.mOldItem.calendar;                this.mOldCalendar.deleteItem(this.mOldItem, this);                this.mCalendar.addItem(this.mItem, this);                break;        }    },
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/8f557b6620a7ffd0ae2bbc6b245ea6cb9b7a0fff/calendar-item-editing.js/buggy/calendar/base/content/calendar-item-editing.js