You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases - specifically, when reading RSS-obtained documents sometimes, I can't cycle directions:
cycleDirectionSettings : function() {
var messagePane = document.getElementById("messagepane");
var body = messagePane.contentDocument.body;
var newForcedDirection;
switch (body.getAttribute('bidimailui-forced-direction')) {
case 'ltr':
newForcedDirection = 'rtl';
break;
case 'rtl':
newForcedDirection = null;
break;
default: // should be null
newForcedDirection = 'ltr';
}
messagepane is not null, but the contentDocument is missing/null. So, we fail to get the body.
The text was updated successfully, but these errors were encountered:
eyalroz
changed the title
Failing to locathe content document, dereferencing null
Failing to locath the content document, dereferencing null
Feb 15, 2021
gatherParameters : function() {
if (!msgWindow) { return [null, null, null]; }
let domDocument = msgWindow.messageWindowDocShell.contentViewer.DOMDocument;
sometimes.
eyalroz
changed the title
Failing to locath the content document, dereferencing null
Failing to locate the content document, dereferencing null
Aug 28, 2021
eyalroz
changed the title
Failing to locate the content document, dereferencing null
Failing to locate the content document for RSS documents, dereferencing null
Aug 10, 2023
In some cases - specifically, when reading RSS-obtained documents sometimes, I can't cycle directions:
messagepane
is not null, but the contentDocument is missing/null. So, we fail to get the body.The text was updated successfully, but these errors were encountered: