mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug #333510 --> contacts sidebar comes up empty. regression caused by 321254. sr=bienvenu
This commit is contained in:
parent
38559bb5f1
commit
12c1d9811b
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user