зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
308133cc8b
Коммит
1771de690b
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче