Bug 491638 - Clear recent history dialog should persist details expansion, r=johnath
This commit is contained in:
@@ -255,14 +255,14 @@ var gSanitizePromptDialog = {
|
||||
// Showing item list
|
||||
if (itemList.collapsed) {
|
||||
expanderButton.className = "expander-up";
|
||||
itemList.collapsed = false;
|
||||
itemList.setAttribute("collapsed", "false");
|
||||
window.resizeBy(0, itemList.boxObject.height);
|
||||
}
|
||||
// Hiding item list
|
||||
else {
|
||||
expanderButton.className = "expander-down";
|
||||
window.resizeBy(0, -itemList.boxObject.height);
|
||||
itemList.collapsed = true;
|
||||
itemList.setAttribute("collapsed", "true");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user