Skip to content

Commit

Permalink
Reset message log and attachment list open status when switching prev…
Browse files Browse the repository at this point in the history
…iew messages
  • Loading branch information
slusarz committed Mar 21, 2014
1 parent 13f9525 commit 269e86b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions imp/js/dimpbase.js
Original file line number Diff line number Diff line change
Expand Up @@ -1797,6 +1797,12 @@ var DimpBase = {
}
}, this);

[ 'msgloglist', 'partlist' ].each(function(a) {
if ($(a + '_exp').visible()) {
$(a, a + '_col', a + '_exp').invoke('toggle');
}
});

// Add attachment information
if (r.atc_label) {
$('msgAtc').show();
Expand Down

0 comments on commit 269e86b

Please sign in to comment.