args.operationListenerWrapper = { operationListener: null, onOperationComplete: function(aCalendar, aStatus, aOperationType, aId, aDetail) { if(this.operationListener) { this.operationListener.onOperationComplete( aCalendar, aStatus, aOperationType, aId, aDetail); } }, onGetResult: function(aCalendar, aStatus, aItemType, aDetail, aCount, aItems) { if(this.operationListener) { this.operationListener.onGetResult( aCalendar, aStatus, aItemType, aDetail, aCount, aItems); } } }; 
args.requestManager = getInvitationsRequestManager(); 
    openInvitationsDialog: function(onLoadOperationListener, finishedCallBack) {        var args = new Object();        args.onLoadOperationListener = onLoadOperationListener;        args.queue = new Array();        args.finishedCallBack = finishedCallBack;        args.operationListenerWrapper = {            operationListener: null,            onOperationComplete:            function(aCalendar, aStatus, aOperationType, aId, aDetail) {                if(this.operationListener) {                    this.operationListener.onOperationComplete(                        aCalendar, aStatus, aOperationType, aId, aDetail);                }            },            onGetResult:            function(aCalendar, aStatus, aItemType, aDetail, aCount, aItems) {                if(this.operationListener) {                    this.operationListener.onGetResult(                        aCalendar, aStatus, aItemType, aDetail, aCount, aItems);                }            }        };        args.invitationsManager = this;        // the dialog will reset this to auto when it is done loading        window.setCursor("wait");        // open the dialog modally        window.openDialog(            "chrome://calendar/content/calendar-invitations-dialog.xul",            "_blank",            "chrome,titlebar,modal,resizable",            args);    },
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/1e3b01ccadd78ef0403300ec6b58d5d313065cf2/calendar-invitations-manager.js/buggy/calendar/prototypes/wcap/calendar-invitations-manager.js