Skip to content

Commit

Permalink
Protect against infinite loop if expanding all mailboxes.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jun 10, 2015
1 parent 31ed398 commit d99969a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imp/js/dimpbase.js
Expand Up @@ -3490,7 +3490,7 @@ var DimpBase = {
return;
}

if (mode == 'tog' || mode == 'expall') {
if (!opts.noexpand && (mode == 'tog' || mode == 'expall')) {
subs.invoke('previous').each(function(s) {
var s2 = this.flist.getMbox(s);
if (!s2.loaded()) {
Expand Down

0 comments on commit d99969a

Please sign in to comment.