Bug 496626 Space doesn't go to next unread in second tab r=philringnalda
This commit is contained in:
Родитель
0cc4368fd6
Коммит
75e806d0e1
|
@ -1671,6 +1671,10 @@ let mailTabType = {
|
||||||
* contract is that we leave the tab in the selected state.
|
* contract is that we leave the tab in the selected state.
|
||||||
*/
|
*/
|
||||||
openTab: function(aTab) {
|
openTab: function(aTab) {
|
||||||
|
// Set the messagepane as the primary browser for content.
|
||||||
|
document.getElementById("messagepane").setAttribute("type",
|
||||||
|
"content-primary");
|
||||||
|
|
||||||
ClearThreadPaneSelection();
|
ClearThreadPaneSelection();
|
||||||
|
|
||||||
// Each tab gets its own messenger instance; I assume this is so each one
|
// Each tab gets its own messenger instance; I assume this is so each one
|
||||||
|
@ -3244,12 +3248,12 @@ function FeedSetContentViewToggle()
|
||||||
// Check message format
|
// Check message format
|
||||||
function FeedCheckContentFormat()
|
function FeedCheckContentFormat()
|
||||||
{
|
{
|
||||||
var contentWindowDoc = window.top._content.document;
|
|
||||||
|
|
||||||
// Not an rss message
|
// Not an rss message
|
||||||
if (!IsFeedItem())
|
if (!IsFeedItem())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
var contentWindowDoc = window.top.content.document;
|
||||||
|
|
||||||
// Thunderbird 2 rss messages with 'Show article summary' not selected,
|
// Thunderbird 2 rss messages with 'Show article summary' not selected,
|
||||||
// ie message body constructed to show web page in an iframe, can't show
|
// ie message body constructed to show web page in an iframe, can't show
|
||||||
// a summary - notify user.
|
// a summary - notify user.
|
||||||
|
@ -3280,7 +3284,7 @@ function FeedSetContentView(val)
|
||||||
var showSummary;
|
var showSummary;
|
||||||
var wintype = document.documentElement.getAttribute('windowtype');
|
var wintype = document.documentElement.getAttribute('windowtype');
|
||||||
var contentBase = currentHeaderData["content-base"];
|
var contentBase = currentHeaderData["content-base"];
|
||||||
var contentWindowDoc = window.top._content.document;
|
var contentWindowDoc = window.top.content.document;
|
||||||
var divHTML = new XPCNativeWrapper(contentWindowDoc,
|
var divHTML = new XPCNativeWrapper(contentWindowDoc,
|
||||||
"getElementsByClassName()")
|
"getElementsByClassName()")
|
||||||
.getElementsByClassName("moz-text-html")[0];
|
.getElementsByClassName("moz-text-html")[0];
|
||||||
|
|
|
@ -2969,7 +2969,7 @@ function FeedSetContentViewToggle()
|
||||||
// Check message format
|
// Check message format
|
||||||
function FeedCheckContentFormat()
|
function FeedCheckContentFormat()
|
||||||
{
|
{
|
||||||
var contentWindowDoc = window.top._content.document;
|
var contentWindowDoc = window.top.content.document;
|
||||||
|
|
||||||
// Not an rss message
|
// Not an rss message
|
||||||
if (!IsFeedItem())
|
if (!IsFeedItem())
|
||||||
|
@ -3005,7 +3005,7 @@ function FeedSetContentView(val)
|
||||||
var showSummary;
|
var showSummary;
|
||||||
var wintype = document.documentElement.getAttribute('windowtype');
|
var wintype = document.documentElement.getAttribute('windowtype');
|
||||||
var contentBase = currentHeaderData["content-base"];
|
var contentBase = currentHeaderData["content-base"];
|
||||||
var contentWindowDoc = window.top._content.document;
|
var contentWindowDoc = window.top.content.document;
|
||||||
var divHTML = new XPCNativeWrapper(contentWindowDoc,
|
var divHTML = new XPCNativeWrapper(contentWindowDoc,
|
||||||
"getElementsByClassName()")
|
"getElementsByClassName()")
|
||||||
.getElementsByClassName("moz-text-html")[0];
|
.getElementsByClassName("moz-text-html")[0];
|
||||||
|
|
Загрузка…
Ссылка в новой задаче