fix regression: checkbox state of the confirmation notification is saved correctly

This commit is contained in:
Piro / SHIMODA Hiroshi 2010-11-11 01:56:00 +09:00
parent cdeed0bc2b
commit c1e1aa6520

View File

@ -461,13 +461,10 @@ var TreeStyleTabUtils = {
}); });
}) })
.next(function(aButtonIndex) { .next(function(aButtonIndex) {
if (aButtonIndex == 0) { if (aButtonIndex == 0)
behavior |= self.kUNDO_CLOSE_SET; behavior |= self.kUNDO_CLOSE_SET;
} if (checkbox.checked)
if (checkbox.checked) {
behavior |= self.kUNDO_ASK;
self.setTreePref('undoCloseTabSet.behavior', behavior); self.setTreePref('undoCloseTabSet.behavior', behavior);
}
return behavior; return behavior;
}); });
}, },