зеркало из https://github.com/mozilla/pjs.git
fix for #64317. when reading news, if biff went off, the
mark toolbar button would change back to delete. I was calling SetUpToolbar() in the wrong place. sr=bienvenu
This commit is contained in:
Родитель
996f78b1da
Коммит
3f908ef495
|
@ -292,6 +292,8 @@ function RerootFolder(uri, newFolder, isThreaded, sortID, sortDirection, viewTyp
|
|||
SetTemplateTreeItemOpen(false);
|
||||
folder.builder.rebuild();
|
||||
|
||||
SetUpToolbarButtons(uri);
|
||||
|
||||
folder.setAttribute('ref', uri);
|
||||
msgNavigationService.EnsureDocumentIsLoaded(document);
|
||||
|
||||
|
|
|
@ -104,9 +104,7 @@ var folderListener = {
|
|||
{
|
||||
var uri = resource.Value;
|
||||
dump("In OnFolderLoaded for " + uri +"\n");
|
||||
|
||||
SetUpToolbarButtons(uri);
|
||||
|
||||
|
||||
if(uri == gCurrentFolderToReroot)
|
||||
{
|
||||
gCurrentFolderToReroot="";
|
||||
|
|
Загрузка…
Ссылка в новой задаче