Supplementary patch to bug 139242 when suppressing scrolling to new message on folder open do it when exiting quicksearch or mailviews too r+sr=bienvenu

This commit is contained in:
neil%parkwaycc.co.uk 2004-09-06 09:14:22 +00:00
Родитель 308133cc8b
Коммит 1771de690b
2 изменённых файлов: 4 добавлений и 2 удалений

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

@ -285,7 +285,8 @@ function restorePreSearchView()
// if we didn't just scroll,
// scroll to the first new message
// but don't select it
scrolled = ScrollToMessage(nsMsgNavigationType.firstNew, true, false /* selectMessage */);
if (pref.getBoolPref("mailnews.scroll_to_new_message"))
scrolled = ScrollToMessage(nsMsgNavigationType.firstNew, true, false /* selectMessage */);
if (!scrolled)
{
// if we still haven't scrolled,

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

@ -256,7 +256,8 @@ function restorePreSearchView()
// if we didn't just scroll,
// scroll to the first new message
// but don't select it
scrolled = ScrollToMessage(nsMsgNavigationType.firstNew, true, false /* selectMessage */);
if (pref.getBoolPref("mailnews.scroll_to_new_message"))
scrolled = ScrollToMessage(nsMsgNavigationType.firstNew, true, false /* selectMessage */);
if (!scrolled)
{
// if we still haven't scrolled,