rem: if(CheckOnline()) GetMessagesForInboxOnServer(server); 
add: if(CheckOnline())	{ if (server.type != "imap") GetMessagesForInboxOnServer(server); } 
context: function OpenInboxForServer(server){    try {        HideAccountCentral();        var inboxFolder = GetInboxFolder(server);        SelectFolder(inboxFolder.URI);        if(CheckOnline())            GetMessagesForInboxOnServer(server);        else {            var option = PromptGetMessagesOffline();            if(option == 0) {                if (!gOfflineManager)                     GetOfflineMgrService();                gOfflineManager.goOnline(false /* sendUnsentMessages */,                                          false /* playbackOfflineImapOperations */,                                          msgWindow);                GetMessagesForInboxOnServer(server);            }        }    }    catch (ex) {        dump("Error opening inbox for server -> " + ex + "\n");        return;    }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/df3c4ae2bdd709f805603349acd56c12b29fa527/mailWindow.js/buggy/mailnews/base/resources/content/mailWindow.js