All pastes #910608 Raw Edit

Stuff

public text v1 · immutable
·published 2008-02-20 01:49 UTC
rendered paste body
                    var serv = cosmo.service.conduits.getAtomPlusEimConduit();
                    serv._transport.getTicketedCollection = function(collectionUrl, ticket, kwArgs){
                        request = this.getDefaultRequest(
                            this.generateUri(this.getAtomBase() + "/" + collectionUrl,
                                             "/details", {ticket:ticket}), kwArgs);
                        debugger;
                        return dojo.xhrGet(request);
                    }
                    split = chui.login.splitTicketURL(remote);
                    if (split.uuid && split.ticket){
                        var getDeferred = serv._transport.getTicketedCollection(split.uuid, split.ticket);
                        console.log("got here");
                        getDeferred.addErrback(function(){console.log("bad");})
                        getDeferred.addCallback(
                            function(response){dojo.hitch(this, function(response){
                                console.log("good");
                                console.log(response);
                                this.hide();
                                      })}
                        )