fix regression: checkbox state of the confirmation notification is saved correctly
This commit is contained in:
parent
cdeed0bc2b
commit
c1e1aa6520
@ -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;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user