Skip to content

Commit

Permalink
Fix adding submailboxes of a special mailbox
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jun 12, 2014
1 parent 433883a commit 56b34cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imp/js/dimpbase.js
Expand Up @@ -4119,7 +4119,7 @@ var IMP_Flist_Mbox = Class.create({
{
var div, f_node, ll, parent_c, parent_e, tmp,
cname = 'imp-sidebar-container',
mbox = flist.getMbox(ob.m),
mbox = (!ob.isfake && flist.getMbox(ob.m)),
title = ob.t || ob.l;

if (ob.s) {
Expand All @@ -4128,7 +4128,9 @@ var IMP_Flist_Mbox = Class.create({
if (ob.ch) {
ob.fake = new IMP_Flist_Mbox(flist, Object.extend(Object.clone(ob), {
co: true,
isfake: true,
l: title,
ns: false,
s: false
}));
} else if (mbox && mbox.fake()) {
Expand Down

0 comments on commit 56b34cc

Please sign in to comment.