Bug 37280 (workaround). Refresh sidebars *before* flushing the panels datasource to deal with the fact that there's a leak. r=slamm

This commit is contained in:
waterson%netscape.com 2006-07-27 14:49:44 +00:00
Родитель fac5daefc7
Коммит 5699e7af30
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -529,9 +529,12 @@ function SidebarTogglePanel(panel_menuitem) {
RDF.GetLiteral(new_exclude));
}
}
// force all the sidebars to update
refresh_all_sidebars();
// Write the modified panels out.
sidebarObj.datasource.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource).Flush();
refresh_all_sidebars();
}
// Use an assertion to pass a "refresh" event to all the sidebars.