mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-13 17:28:52 +00:00
Minor JavaScript fix when saving a mail draft outside the Mail module.
Monotone-Parent: 3cf3591b19f9abd27fa7dcef1bd85574e88f3050 Monotone-Revision: 2e1565da869405c503b47261079abdaf1bcbe0dc Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-05-04T19:52:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -232,7 +232,7 @@ function deleteDraft(url) {
|
||||
|
||||
function refreshFolderByType(type) {
|
||||
/* this is called by UIxMailEditor with window.opener */
|
||||
if (Mailer && Mailer.currentMailboxType == type)
|
||||
if (typeof Mailer != 'undefined' && Mailer.currentMailboxType == type)
|
||||
refreshCurrentFolder();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user