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 2000-04-26 23:23:47 +00:00
Родитель 0c513b7385
Коммит c312d56dc3
1 изменённых файлов: 4 добавлений и 1 удалений

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

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