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

This commit is contained in:
Piro / SHIMODA Hiroshi 2010-11-11 01:54:24 +09:00
parent 8bec6fc3b5
commit cdeed0bc2b

View File

@ -465,7 +465,7 @@ var TreeStyleTabUtils = {
behavior |= self.kUNDO_CLOSE_SET;
}
if (checkbox.checked) {
behavior ^= self.kUNDO_ASK;
behavior |= self.kUNDO_ASK;
self.setTreePref('undoCloseTabSet.behavior', behavior);
}
return behavior;