Bug 408268 Closing the browser without dismissing the Customize Toolbar dialog leads to loss of all toolbar items. r=Neil Deakin sr=neil@parkwaycc.co.uk

git-svn-id: svn://10.0.0.236/trunk@249654 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jonas%sicking.cc 2008-04-05 00:20:38 +00:00
parent d82782d6d6
commit f7f7881f31

View File

@ -143,7 +143,7 @@ function getToolbarAt(i)
*/
function persistCurrentSets()
{
if (!gToolboxChanged)
if (!gToolboxChanged || gToolboxDocument.defaultView.closed)
return;
var customCount = 0;