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) {
if (aButtonIndex == 0) {
if (aButtonIndex == 0)
behavior |= self.kUNDO_CLOSE_SET;
}
if (checkbox.checked) {
behavior |= self.kUNDO_ASK;
if (checkbox.checked)
self.setTreePref('undoCloseTabSet.behavior', behavior);
}
return behavior;
});
},