rem: (this_.m_sessionId == null || 
add: (!this_.m_sessionId || 
context:                 function() {                    if (!this_.m_bNoLoginsAnymore &&                        (this_.m_sessionId == null ||                         this_.m_sessionId == timedOutSessionId)) {                        if (timedOutSessionId != null) {                            this_.m_sessionId = null;                            this_.log( "session timeout; " +                                       "prompting to reconnect." );                            var prompt =getWindowWatcher().getNewPrompter(null);                            var bundle = getWcapBundle();                            if (!prompt.confirm(                                    bundle.GetStringFromName(                                        "reconnectConfirmation.label"),                                    bundle.formatStringFromName(                                        "reconnectConfirmation.text",                                        [this_.uri.hostPort], 1 ) )) {                                this_.m_bNoLoginsAnymore = true;                            }                        }                        if (!this_.m_bNoLoginsAnymore)                            this_.getSessionId_();                                                if (this_.m_sessionId != null) {                            this_.getSupportedTimezones(true /* refresh */);                            this_.getServerTimeDiff(true /* refresh */);                            // preread calprops for subscribed calendars:                            var cals = this_.getSubscribedCalendars({});                            for each ( cal in cals ) {                                cal.getCalProps_(true /* async */);                            }                        }                    }                } );
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c2dfba8078a0549113babb1b83824a4b7ad018a9/calWcapSession.js/buggy/calendar/providers/wcap/calWcapSession.js