Bug #333510 --> contacts sidebar comes up empty. regression caused by 321254. sr=bienvenu

This commit is contained in:
scott%scott-macgregor.org 2006-05-17 17:56:12 +00:00
parent 38559bb5f1
commit 12c1d9811b

View File

@ -137,7 +137,12 @@ function AddressBookMenuListChange()
function AbPanelOnComposerClose()
{
CloseAbView();
gSearchInput.value = "";
onClearSearch();
}
function AbPanelOnComposerReOpen()
{
SetAbView(GetSelectedDirectory(), true);
}
function AbPanelLoad()
@ -158,6 +163,7 @@ function AbPanelLoad()
Components.interfaces.nsIAddrBookSession.changed);
parent.document.getElementById("msgcomposeWindow").addEventListener('compose-window-close', AbPanelOnComposerClose, true);
parent.document.getElementById("msgcomposeWindow").addEventListener('compose-window-reopen', AbPanelOnComposerReOpen, true);
gSearchInput = document.getElementById("searchInput");
}