follow on fix for 74959 - don't need to remove -message from message uri's, sr=sspitzer

This commit is contained in:
bienvenu%nventure.com 2006-08-21 19:58:10 +00:00
Родитель ef23af8001
Коммит 2781336cb7
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -268,12 +268,7 @@ function CrossFolderNavigation(type)
var relPos = (type == nsMsgNavigationType.forward)
? 1 : ((GetLoadedMessage()) ? -1 : 0);
var folderUri = messenger.getFolderUriAtNavigatePos(relPos);
var msgUri = messenger.getMsgUriAtNavigatePos(relPos);
// want to get rid of "-message:" and replace it with ":"
var msgUriStr = new String("");
msgUriStr = msgUri;
msgUriStr.replace("-message:", ":");
var msgHdr = messenger.msgHdrFromURI(msgUriStr);
var msgHdr = messenger.msgHdrFromURI(messenger.getMsgUriAtNavigatePos(relPos));
gStartMsgKey = msgHdr.messageKey;
var curPos = messenger.navigatePos;
curPos += relPos;