update folder db on properties if we can't get one, r/sr=bienvenu
This commit is contained in:
Родитель
7df09a0acb
Коммит
81fc58c9c4
|
@ -206,6 +206,15 @@ function folderPropsOnLoad()
|
|||
var serverType = window.arguments[0].serverType;
|
||||
|
||||
if (gMsgFolder) {
|
||||
// We really need a functioning database, so we'll detect problems
|
||||
// and create one if we have to.
|
||||
try {
|
||||
var db = gMsgFolder.getDatabase(null);
|
||||
}
|
||||
catch (e) {
|
||||
gMsgFolder.updateFolder(window.arguments[0].msgWindow);
|
||||
}
|
||||
|
||||
var locationTextbox = document.getElementById("location");
|
||||
|
||||
// Decode the displayed mailbox:// URL as it's useful primarily for debugging,
|
||||
|
|
Загрузка…
Ссылка в новой задаче