bug 134503; add comments that were added to branch (r=akkana, sr=kin)

This commit is contained in:
brade%netscape.com 2002-06-03 18:04:33 +00:00
Родитель f7ba088d89
Коммит b9618acabd
1 изменённых файлов: 6 добавлений и 9 удалений

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

@ -228,15 +228,6 @@ function addEditorClickEventListener()
} catch (e) {}
}
function removeEditorClickEventListener()
{
try {
var bodyelement = GetBodyElement();
if (bodyelement)
bodyelement.removeEventListener("click", EditorClick, false);
} catch (e) {}
}
var MessageComposeDocumentStateListener =
{
NotifyDocumentCreated: function()
@ -246,6 +237,9 @@ var MessageComposeDocumentStateListener =
NotifyDocumentWillBeDestroyed: function()
{
// note that the editorshell seems to be gone at this point
// so we don't have a way to remove the click listener.
// hopefully it is being cleaned up with all listeners
},
NotifyDocumentStateChanged:function()
@ -294,6 +288,9 @@ var DocumentStateListener =
addEditorClickEventListener();
},
// note that the editorshell seems to be gone at this point
// so we don't have a way to remove the click listener.
// hopefully it is being cleaned up with all listeners
NotifyDocumentWillBeDestroyed: function() {},
NotifyDocumentStateChanged:function( isNowDirty )