diff --git a/mailnews/base/resources/content/msgFolderPickerOverlay.js b/mailnews/base/resources/content/msgFolderPickerOverlay.js index df8c5ab8f592..d2d9af4b169c 100644 --- a/mailnews/base/resources/content/msgFolderPickerOverlay.js +++ b/mailnews/base/resources/content/msgFolderPickerOverlay.js @@ -98,4 +98,9 @@ function SetFolderPicker(uri,pickerID) picker.setAttribute("value",selectedValue); picker.setAttribute("uri",uri); + + if (pickerID == "msgNewFolderPicker") { + window.resizeTo(0,0); + window.sizeToContent(); + } } diff --git a/mailnews/base/resources/content/newFolderNameDialog.js b/mailnews/base/resources/content/newFolderNameDialog.js index 8d9b5b7308ce..6469b68d084b 100644 --- a/mailnews/base/resources/content/newFolderNameDialog.js +++ b/mailnews/base/resources/content/newFolderNameDialog.js @@ -45,6 +45,7 @@ function newFolderNameOnLoad(pickerDOMID) if (newFolderTypeBox) { newFolderTypeBox.setAttribute("hidden", "false"); + window.resizeTo(0,0); window.sizeToContent(); } }